Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rambda/mod.ts>modulo

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

Curried version of x%y.

Parameters

x: number
y: number

Returns

number

Parameters

x: number

Returns

(y: number) => number