Expand description
Predicates for i8 values.
Structs§
- Equal
- Checks whether the given value is equal to
N. - Equal
Error - Represents errors that occur when the provided
i8is not equal toother. - Greater
- Checks whether the given value is greater than
N. - Greater
Error - Represents errors that occur when the provided
i8is less than or equal toother. - Greater
OrEqual - Checks whether the given value is greater than or equal to
N. - Greater
OrEqual Error - Represents errors that occur when the provided
i8is less thanother. - Less
- Checks whether the given value is less than
N. - Less
Error - Represents errors that occur when the provided
i8is greater than or equal toother. - Less
OrEqual - Checks whether the given value is less than or equal to
N. - Less
OrEqual Error - Represents errors that occur when the provided
i8is greater thanother. - Modulo
- Checks whether
i8divided byDhas moduloM. - Modulo
Error - Represents errors that occur when the provided
i8divided bydivisordoes not equalmodulo. - NotEqual
- Checks whether the given value is not equal to
N. - NotEqual
Error - Represents errors that occur when the provided
i8is equal toother.
Type Aliases§
- Closed
- Represents
[M, N]intervals. - Closed
Open - Represents
[M, N)intervals. - Divisible
- Checks whether the given value is divisible by
D. - Even
- Checks whether the given value is even.
- Negative
- Checks whether the given value is negative.
- NonNegative
- Checks whether the given value is non-negative (positive or zero).
- NonPositive
- Checks whether the given value is non-positive (negative or zero).
- NonZero
- Checks whether the given value is not equal to zero (
0). - Odd
- Checks whether the given value is odd.
- Open
- Represents
(M, N)intervals. - Open
Closed - Represents
(M, N]intervals. - Positive
- Checks whether the given value is positive.
- Zero
- Checks whether the given value is equal to zero (
0).