IntegerPredicate

public enum IntegerPredicate : String, Hashable, Sendable
extension IntegerPredicate: LosslessStringConvertible

The predicate of an integer comparison.

  • eq

    Values are equal.

    Declaration

    Swift

    case eq
  • ne

    Values are not equal.

    Declaration

    Swift

    case ne
  • ugt

    LHS is greater than RHS, by unsigned comparison.

    Declaration

    Swift

    case ugt
  • uge

    LHS is greater than or equal to RHS, by unsigned comparison.

    Declaration

    Swift

    case uge
  • ult

    LHS is less than RHS, by unsigned comparison.

    Declaration

    Swift

    case ult
  • ule

    LHS is less than or equal to RHS, by unsigned comparison.

    Declaration

    Swift

    case ule
  • slt

    LHS is less than RHS, by signed comparison.

    Declaration

    Swift

    case slt
  • sge

    LHS is greater than or equal to RHS, by signed comparison.

    Declaration

    Swift

    case sge
  • sgt

    LHS is greater than RHS, by signed comparison.

    Declaration

    Swift

    case sgt
  • sle

    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 }