Skip to main content
Module

x/froebel/clamp.ts>default

A strictly typed utility library.
Go to Latest
variable default
import { default } from "https://deno.land/x/froebel@v0.21.3/clamp.ts";

Clamp num between min and max inclusively.

type

(
min: number,
num: number,
max: number,
) => unknown