has-remainder
has-remainder(
modulus: numeric,
remainder: numeric
)
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.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
modulus | numeric | Yes | An integer value used as the modulus. |
remainder | numeric | Yes | An integer value defined as the expected reminder. |
Kind: Predicate
Scope: numeric/arithmetic
Aliases: modulo, numeric-is-modulo