Skip to main content
Module

x/rambda/modulo.js

Faster and smaller alternative to Ramda
Go to Latest
File
export function modulo(x, y){ if (arguments.length === 1) return _y => modulo(x, _y)
return x % y}