Creates a Predicate that checks if a number is divisible by a given divider.
divider
const isDivisibleBy3 = isDivisibleBy(3);const result = isDivisibleBy3(-6);console.log(result); // true
the Predicate
the divider to use
Generated using TypeDoc
Creates a Predicate that checks if a number is divisible by a given
divider.Example
Returns
the Predicate