MCPcopy
hub / github.com/autoNumeric/autoNumeric / _isMaximumRangeRespected

Method _isMaximumRangeRespected

src/AutoNumeric.js:6118–6120  ·  view source on GitHub ↗

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

(value, settings)

Source from the content-addressed store, hash-verified

6116 * @private
6117 */
6118 static _isMaximumRangeRespected(value, settings) {
6119 return AutoNumericHelper.testMinMax(AutoNumericHelper.parseStr(settings.maximumValue), this._cleanValueForRangeParse(value)) < 1;
6120 }
6121
6122 /**
6123 * Helper function that triggers the range events if they are needed

Callers 1

Calls 3

testMinMaxMethod · 0.80
parseStrMethod · 0.80

Tested by

no test coverage detected