MCPcopy
hub / github.com/plotly/plotly.js / coerce

Function coerce

src/plots/map/layout_defaults.js:50–52  ·  view source on GitHub ↗
(attr, dflt)

Source from the content-addressed store, hash-verified

48
49function handleLayerDefaults(layerIn, layerOut) {
50 function coerce(attr, dflt) {
51 return Lib.coerce(layerIn, layerOut, layoutAttributes.layers, attr, dflt);
52 }
53
54 var visible = coerce('visible');
55 if(visible) {

Callers 7

handleDefaultsFunction · 0.70
handleLayerDefaultsFunction · 0.70
handleDefaultsFunction · 0.50
coerceAxisFunction · 0.50
handleDefaultsFunction · 0.50
coerceAxisFunction · 0.50
handleAxisTypeDefaultsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…