MCPcopy
hub / github.com/autoNumeric/autoNumeric / _checkStringsToValuesSettings

Method _checkStringsToValuesSettings

src/AutoNumeric.js:2412–2414  ·  view source on GitHub ↗

* Static helper for checking if the given `value` is found in the settings' `valuesToStrings` option object. * * @param {number|string} value * @param {object} settings * @returns {boolean} * @private

(value, settings)

Source from the content-addressed store, hash-verified

2410 * @private
2411 */
2412 static _checkStringsToValuesSettings(value, settings) {
2413 return this._checkValuesToStringsArray(value, Object.values(settings.valuesToStrings));
2414 }
2415
2416 /**
2417 * Return `true` if the user is currently modifying the element value manually.

Callers 1

unformatMethod · 0.95

Calls 1

Tested by

no test coverage detected