MCPcopy Create free account
hub / github.com/microsoft/SandDance / param

Function param

docs/app/js/sanddance-app.js:148054–148056  ·  view source on GitHub ↗
(value11)

Source from the content-addressed store, hash-verified

148052 return expr3 ? scope.signalRef(expr3) : !!clip1;
148053}
148054function param(value11) {
148055 return (0, _vegaUtil.isObject)(value11) && value11.signal ? value11.signal : (0, _vegaUtil.stringValue)(value11);
148056}
148057function getRole(spec) {
148058 const role = spec.role || "";
148059 return !role.indexOf("axis") || !role.indexOf("legend") || !role.indexOf("title") ? role : spec.type === GroupMark ? ScopeRole : role || MarkRole;

Callers 1

clipFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected