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

Function isSubplotId

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

Source from the content-addressed store, hash-verified

233 coerceFunction: function(v, propOut, dflt, opts) {
234 var regex = opts.regex || counterRegex(dflt);
235 const isSubplotId = value => typeof value === 'string' && regex.test(value);
236 if (isSubplotId(v) || (opts.arrayOk && isArrayOrTypedArray(v) && v.length > 0 && v.every(isSubplotId))) {
237 propOut.set(v);
238 } 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…