Preview: within.js
Size: 262 B
/proc/thread-self/root/home/byroehnu/.trash/node_modules11/@popperjs/core/dist/esm/utils/within.js
import { max as mathMax, min as mathMin } from "./math.js";
export function within(min, value, max) {
return mathMax(min, mathMin(value, max));
}
export function withinMaxClamp(min, value, max) {
var v = within(min, value, max);
return v > max ? max : v;
}
Directory Contents
Dirs: 0 × Files: 21