Arithmetic predicates
Reference documentation for Expressif predicates in the numeric/arithmetic scope.
| Name | Overview |
|---|---|
has-remainder | Returns true if the division of the numeric value passed as argument by the modulus provided as parameter value is equal to the required remainder. Returns false otherwise. |
is-divisible-by | Returns true if the numeric value passed as argument is evenly divisible by the divisor provided as parameter. Returns false otherwise. |
is-even | Returns true if the numeric value passed as argument is even. Returns false otherwise. |
is-odd | Returns true if the numeric value passed as argument is odd. Returns false otherwise. |