Skip to content

Instance Method

isNotNewer(than:)

Check whether the current version (i.e. self) is older than or equal to the one given.
func isNotNewer(than otherVersion: any SQLDatabaseReportedVersion) -> Bool

Parameters

otherVersion

The version to compare against. type(of: self) must be the same as type(of: otherVersion).

Return Value

true if otherVersion is greater than self, otherwise false.

Discussion

Warning

This method has been deprecated; use the <= operator instead.