MCPcopy
hub / github.com/autoNumeric/autoNumeric / _isWithinRangeWithOverrideOption

Method _isWithinRangeWithOverrideOption

src/AutoNumeric.js:6077–6081  ·  view source on GitHub ↗

* Returns `true` if the given value is within the `minimumValue` and `maximumValue` limits, while using the override options set with `overrideMinMaxLimits`, `false` otherwise * * @param {string} value * @param {object} settings * @returns {boolean} * @private

(value, settings)

Source from the content-addressed store, hash-verified

6075 * @private
6076 */
6077 static _isWithinRangeWithOverrideOption(value, settings) {
6078 const [minTest, maxTest] = this._checkIfInRangeWithOverrideOption(value, settings);
6079
6080 return minTest && maxTest;
6081 }
6082
6083 /**
6084 * Helper function that prepares the value string for the min/max test

Callers 4

validateMethod · 0.95
formatMethod · 0.95
setUnformattedMethod · 0.80

Tested by

no test coverage detected