MCPcopy Index your code
hub / github.com/microsoft/SandDance / parseLiteral

Function parseLiteral

docs/app/js/sanddance-app.js:147316–147318  ·  view source on GitHub ↗
(v, scope)

Source from the content-addressed store, hash-verified

147314 }
147315}
147316function parseLiteral(v, scope) {
147317 return !(0, _vegaUtil.isObject)(v) ? v : v.signal ? scope.signalRef(v.signal) : (0, _vegaUtil.error)("Unsupported object: " + (0, _vegaUtil.stringValue)(v));
147318}
147319function parseArray(v1, scope) {
147320 return v1.signal ? scope.signalRef(v1.signal) : v1.map((v)=>parseLiteral(v, scope));
147321}

Callers 6

parseScaleFunction · 0.70
parseArrayFunction · 0.70
explicitDomainFunction · 0.70
parseScaleNiceFunction · 0.70
parseScaleInterpolateFunction · 0.70
parseScaleRangeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected