MCPcopy
hub / github.com/autoNumeric/autoNumeric / _calculateValuesToStringsKeys

Method _calculateValuesToStringsKeys

src/AutoNumeric.js:8287–8293  ·  view source on GitHub ↗

* Calculate once what are the `valuesToStrings` option keys. * @private

()

Source from the content-addressed store, hash-verified

8285 * @private
8286 */
8287 _calculateValuesToStringsKeys() {
8288 if (this.settings.valuesToStrings) {
8289 this.valuesToStringsKeys = Object.keys(this.settings.valuesToStrings);
8290 } else {
8291 this.valuesToStringsKeys = [];
8292 }
8293 }
8294
8295 /**
8296 * Caches regular expressions for _stripAllNonNumberCharactersExceptCustomDecimalChar

Callers 1

_setSettingsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected