Home Manual Reference Source

src/numbers.js

export const divides = (y) => (x) => y % x === 0;
export const divisible = (y) => (x) => x % y === 0;