MCPcopy
hub / github.com/autoNumeric/autoNumeric / _isPreDefinedOptionValid

Method _isPreDefinedOptionValid

src/AutoNumeric.js:1134–1136  ·  view source on GitHub ↗

* Return `true` if the given pre-defined option name is an attribute of the `AutoNumeric.predefinedOptions` object * * @param {string} preDefinedOptionName * @returns {boolean} * @private

(preDefinedOptionName)

Source from the content-addressed store, hash-verified

1132 * @private
1133 */
1134 static _isPreDefinedOptionValid(preDefinedOptionName) {
1135 return Object.prototype.hasOwnProperty.call(AutoNumeric.predefinedOptions, preDefinedOptionName);
1136 }
1137
1138 /**
1139 * Return an option object based on the given parameter.

Callers 2

_setArgumentsValuesMethod · 0.95
updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected