UNPKG

simple-color-picker-jq

Version:
5 lines (4 loc) 114 B
'use strict'; module.exports = function clamp(value, min, max) { return Math.min(Math.max(value, min), max); };