UNPKG

@realsee/dnalogel

Version:
7 lines (6 loc) 85 B
function f(r, t, n) { return r < t ? t : r > n ? n : r; } export { f as clamp };