Module

x/rambda/mod.ts>modulo

Faster and smaller alternative to Ramda
Latest
function modulo
import { modulo } from "https://dotland.deno.dev/x/rambda@9.4.1/mod.ts";

Curried version of x%y.

Parameters

x: number
y: number

Returns

number

Parameters

x: number

Returns

(y: number) => number