"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.clamp = void 0;
// TODO use `min` and `max`
function clamp(a, min, max) {
    return Math.min(Math.max(a, min), max);
}
exports.clamp = clamp;
function _clamp({ a, min, max, }) {
    return { a: clamp(a, min, max) };
}
exports.default = _clamp;
//# sourceMappingURL=f.js.map