MCPcopy Index your code
hub / github.com/autoNumeric/autoNumeric / _isMinimumRangeRespected

Method _isMinimumRangeRespected

src/AutoNumeric.js:6106–6108  ·  view source on GitHub ↗

* Returns `true` is the value is superior or equal to the `minimumValue` limit, discarding any override options * * @param {string} value * @param {object} settings * @returns {boolean} * @private

(value, settings)

Source from the content-addressed store, hash-verified

6104 * @private
6105 */
6106 static _isMinimumRangeRespected(value, settings) {
6107 return AutoNumericHelper.testMinMax(AutoNumericHelper.parseStr(settings.minimumValue), this._cleanValueForRangeParse(value)) > -1;
6108 }
6109
6110 /**
6111 * Returns `true` is the value is inferior or equal to the `maximumValue` limit, discarding any override options

Callers 1

Calls 3

testMinMaxMethod · 0.80
parseStrMethod · 0.80

Tested by

no test coverage detected