function clamp(value) {
  var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
   true ? (0, _warning.default)(value >= min && value <= max, "Material-UI: the value provided ".concat(value, " is out of range [").concat(min, ", ").concat(max, "].")) : void 0;

  if (value < min) {
    return min;
  }

  if (value > max) {
    return max;
  }

  return value;
}
/**
 * Returns a number whose value is limited to the given range.
 *
 * @param {number} value The value to be clamped
 * @param {number} min The lower boundary of the output range
 * @param {number} max The upper boundary of the output range
 * @returns {number} A number in the range [min, max]
 */
Returns a number whose value is limited to the given range.
@param {number} value The value to be clamped
@param {number} min The lower boundary of the output range
@param {number} max The upper boundary of the output range
@returns {number} A number in the range [min, max]
Returns a number whose value is limited to the given range . @param { number } value The value to be clamped @param { number } min The lower boundary of the output range @param { number } max The upper boundary of the output range @returns { number } A number in the range [ min max ]
function clamp(value) {
  var min = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
  var max = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
   true ? (0, _warning.default)(value >= min && value <= max, "Material-UI: the value provided ".concat(value, " is out of range [").concat(min, ", ").concat(max, "].")) : void 0;
  if (value < min) {
    return min;
  }
  if (value > max) {
    return max;
  }
  return value;
}
function clamp ( value ) { var min = arguments . length > 1 && arguments [ 1 ] !== undefined ? arguments [ 1 ] : 0 ; var max = arguments . length > 2 && arguments [ 2 ] !== undefined ? arguments [ 2 ] : 1 ; true ? ( 0 , _warning . default ) ( value >= min && value <= max , "Material-UI: the value provided " . concat ( value , " is out of range [" ) . concat ( min , ", " ) . concat ( max , "]." ) ) : void 0 ; if ( value < min ) { return min ; } if ( value > max ) { return max ; } return value ; }
Returns a number whose value is limited to the given range.
Returns a number whose value is limited to the given range .