Skip to content

Instance Method

isNotOlder(than:)

Check whether the current version (i.e. self) is newer than or equal to the one given.
func isNotOlder(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 less than self, otherwise false.

Discussion

Warning

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