MCPcopy Index your code
hub / github.com/plotly/dash / getEnum

Function getEnum

dash/extract-meta.js:248–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246 };
247
248 const getEnum = typeObj => ({
249 name: 'enum',
250 value: typeObj.types.map(t => ({
251 value: coerceValue(t),
252 computed: false
253 }))
254 });
255
256 const getUnion = (typeObj, propObj, parentType) => {
257 let name = 'union',

Callers 1

getPropTypeFunction · 0.85

Calls 1

coerceValueFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…