IntPredicate
public enum IntPredicate
The condition codes available for integer comparison instructions.
-
Yields
true
if the operands are equal, false otherwise without sign interpretation.Declaration
Swift
case equal
-
Yields
true
if the operands are unequal, false otherwise without sign interpretation.Declaration
Swift
case notEqual
-
Interprets the operands as unsigned values and yields true if the first is greater than the second.
Declaration
Swift
case unsignedGreaterThan
-
Interprets the operands as unsigned values and yields true if the first is greater than or equal to the second.
Declaration
Swift
case unsignedGreaterThanOrEqual
-
Interprets the operands as unsigned values and yields true if the first is less than the second.
Declaration
Swift
case unsignedLessThan
-
Interprets the operands as unsigned values and yields true if the first is less than or equal to the second.
Declaration
Swift
case unsignedLessThanOrEqual
-
Interprets the operands as signed values and yields true if the first is greater than the second.
Declaration
Swift
case signedGreaterThan
-
Interprets the operands as signed values and yields true if the first is greater than or equal to the second.
Declaration
Swift
case signedGreaterThanOrEqual
-
Interprets the operands as signed values and yields true if the first is less than the second.
Declaration
Swift
case signedLessThan
-
Interprets the operands as signed values and yields true if the first is less than or equal to the second.
Declaration
Swift
case signedLessThanOrEqual