UNPKG

@studiometa/js-toolkit

Version:

A set of useful little bits of JavaScript to boost your project! 🚀

6 lines (5 loc) • 192 B
/** * Wrap a value in the min and max range. * @link https://js-toolkit.studiometa.dev/utils/math/wrap.html */ export declare function wrap(value: number, min: number, max: number): number;