MCPcopy
hub / github.com/autoNumeric/autoNumeric / _checkValuesToStringsSettings

Method _checkValuesToStringsSettings

src/AutoNumeric.js:2400–2402  ·  view source on GitHub ↗

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

(key, settings)

Source from the content-addressed store, hash-verified

2398 * @private
2399 */
2400 static _checkValuesToStringsSettings(key, settings) {
2401 return this._checkValuesToStringsArray(key, Object.keys(settings.valuesToStrings));
2402 }
2403
2404 /**
2405 * Static helper for checking if the given `value` is found in the settings' `valuesToStrings` option object.

Callers 1

formatMethod · 0.95

Calls 1

Tested by

no test coverage detected