This repository has been archived on 2026-03-06. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

4 lines
149 B
JavaScript

export function clamp(value, min = 0, max = Number.MAX_VALUE) {
return Math.min(Math.max(value, min), max);
}
//# sourceMappingURL=numbers.js.map