2026-07-25 08:10:48 +00:00
|
|
|
// Module ID: 3381
|
2026-07-27 11:26:19 +00:00
|
|
|
// Function ID: 26533
|
2026-07-23 10:11:24 +00:00
|
|
|
// Name: clamp
|
2026-07-25 08:10:48 +00:00
|
|
|
// Dependencies: [3382, 3383, 3211]
|
2026-07-23 10:11:24 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-07-25 08:10:48 +00:00
|
|
|
// Module 3381 (clamp)
|
2026-07-23 10:11:24 +00:00
|
|
|
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;
|