UNPKG

rambdax

Version:

Extended version of Rambda - a lightweight, faster alternative to Ramda

6 lines (4 loc) 105 B
export function modulo(x, y){ if (arguments.length === 1) return _y => modulo(x, _y) return x % y }