IntegerPredicate
public enum IntegerPredicate : String, Hashable, Sendable
extension IntegerPredicate: LosslessStringConvertible
The predicate of an integer comparison.
-
Values are equal.
Declaration
Swift
case eq -
Values are not equal.
Declaration
Swift
case ne -
LHS is greater than RHS, by unsigned comparison.
Declaration
Swift
case ugt -
LHS is greater than or equal to RHS, by unsigned comparison.
Declaration
Swift
case uge -
LHS is less than RHS, by unsigned comparison.
Declaration
Swift
case ult -
LHS is less than or equal to RHS, by unsigned comparison.
Declaration
Swift
case ule -
LHS is less than RHS, by signed comparison.
Declaration
Swift
case slt -
LHS is greater than or equal to RHS, by signed comparison.
Declaration
Swift
case sge -
LHS is greater than RHS, by signed comparison.
Declaration
Swift
case sgt -
LHS is less than or equal to RHS, by signed comparison.
Declaration
Swift
case sle -
Declaration
Swift
public init?(_ description: String) -
Declaration
Swift
public var description: String { get }
View on GitHub