dist/material-ui-pickers.umd.js
/**
   * 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;
    {
      if (value < min || value > max) {
        console.error("Material-UI: the value provided ".concat(value, " is out of range [").concat(min, ", ").concat(max, "]."));
      }
    }
    return Math.min(Math.max(min, value), 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 ; { if ( value < min || value > max ) { console . error ( "Material-UI: the value provided " . concat ( value , " is out of range [" ) . concat ( min , ", " ) . concat ( max , "]." ) ) ; } } return Math . min ( Math . max ( min , value ) , max ) ; }
Returns a number whose value is limited to the given range.
Returns a number whose value is limited to the given range .