import { number } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { mod } = number;
Return the positive modulus of two numbers.
Examples
Example 1
Example 1
import * as N from "./number.ts";
import { pipe } from "./fn.ts";
const result = pipe(11, N.mod(2)); // 1