MCPcopy Index your code
hub / github.com/plotly/plotly.js / isBoolean

Function isBoolean

src/lib/coerce.js:91–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 otherOpts: ['dflt', 'arrayOk'],
90 coerceFunction: function(v, propOut, dflt, opts) {
91 const isBoolean = value => value === true || value === false;
92 if (isBoolean(v) || (opts.arrayOk && Array.isArray(v) && v.length > 0 && v.every(isBoolean))) {
93 propOut.set(v);
94 } else {

Callers 1

coerce.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…