MCPcopy
hub / github.com/autoNumeric/autoNumeric / isBoolean

Method isBoolean

src/AutoNumericHelper.js:96–98  ·  view source on GitHub ↗

* Return `true` if the parameter is a boolean * * @static * @param {*} value * @returns {boolean}

(value)

Source from the content-addressed store, hash-verified

94 * @returns {boolean}
95 */
96 static isBoolean(value) {
97 return typeof(value) === 'boolean';
98 }
99
100 /**
101 * Return `true` if the parameter is a string 'true' or 'false'

Callers 3

validateMethod · 0.80
AutoNumeric.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected