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

Function coerce

src/traces/sunburst/defaults.js:14–16  ·  view source on GitHub ↗
(attr, dflt)

Source from the content-addressed store, hash-verified

12
13module.exports = function supplyDefaults(traceIn, traceOut, defaultColor, layout) {
14 function coerce(attr, dflt) {
15 return Lib.coerce(traceIn, traceOut, attributes, attr, dflt);
16 }
17
18 var labels = coerce('labels');
19 var parents = coerce('parents');

Callers 1

defaults.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…