1 | ;
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | var clamp = function (a, min, max) {
|
4 | if (a < min) {
|
5 | return min;
|
6 | }
|
7 | else if (a > max) {
|
8 | return max;
|
9 | }
|
10 | return a;
|
11 | };
|
12 | exports.default = clamp;
|
13 | //# sourceMappingURL=clamp.js.map |
\ | No newline at end of file |