2026-07-23 10:11:24 +00:00
|
|
|
// Module ID: 3380
|
2026-07-24 07:16:23 +00:00
|
|
|
// Function ID: 26521
|
2026-07-23 10:11:24 +00:00
|
|
|
// Name: clamp
|
|
|
|
|
// Dependencies: [3381, 3382, 3210]
|
|
|
|
|
// Exports: default
|
|
|
|
|
|
|
|
|
|
// Module 3380 (clamp)
|
|
|
|
|
import _typeof from "_typeof";
|
|
|
|
|
import _typeof from "_typeof";
|
|
|
|
|
import requiredArgs from "requiredArgs";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export default function clamp(arg0, arg1) {
|
|
|
|
|
let end;
|
|
|
|
|
let start;
|
|
|
|
|
({ start, end } = arg1);
|
|
|
|
|
requiredArgs.default(2, arguments);
|
|
|
|
|
const items = [arg0, start];
|
|
|
|
|
const items1 = [_typeof.default(items), end];
|
|
|
|
|
return _typeof.default(items1);
|
|
|
|
|
};
|
|
|
|
|
export default exports.default;
|