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

Function coerceValue

dash/extract-meta.js:203–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

201 const checker = program.getTypeChecker();
202
203 const coerceValue = t => {
204 // May need to improve for shaped/list literals.
205 if (t.isStringLiteral()) return `'${t.value}'`;
206 return t.value;
207 };
208
209 const getComponentFromExport = exp => {
210 const decl = exp.valueDeclaration || exp.declarations[0];

Callers 1

getEnumFunction · 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…