VersionComparison
public enum VersionComparison : Codable, Equatable, Sendable
A comparison test for semantic version.
-
Represents “_ >= payload”.
Declaration
Swift
case greaterOrEqual(SemanticVersion) -
Represents “_ < payload”.
Declaration
Swift
case less(SemanticVersion) -
Evaluate the comparison predicate for
lhs.Declaration
Swift
func evaluate(for lhs: SemanticVersion) -> Bool
View on GitHub