UNPKG

@dfsj/ec-hooks

Version:

贵州东方世纪常用 hook。

7 lines (6 loc) 87 B
function m(t, a, n) { return Math.max(a, Math.min(t, n)); } export { m as clamp };