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

Function encoder

docs/app/js/sanddance-app.js:146843–146845  ·  view source on GitHub ↗
(_)

Source from the content-addressed store, hash-verified

146841 };
146842}
146843const encoder = (_)=>(0, _vegaUtil.isObject)(_) && !(0, _vegaUtil.isArray)(_) ? (0, _vegaUtil.extend)({}, _) : {
146844 value: _
146845 };
146846function addEncode(object, name, value1, set) {
146847 if (value1 != null) {
146848 const isEncoder = (0, _vegaUtil.isObject)(value1) && !(0, _vegaUtil.isArray)(value1) || (0, _vegaUtil.isArray)(value1) && value1.length && (0, _vegaUtil.isObject)(value1[0]); // Always assign signal to update, even if the signal is from the enter block

Callers 10

legendGradientFunction · 0.70
legendGradientDiscreteFunction · 0.70
legendGradientLabelsFunction · 0.70
legendSymbolGroupsFunction · 0.70
ifEncFunction · 0.70
axisTicksFunction · 0.70
axisLabelsFunction · 0.70
axisTitleFunction · 0.70
autoFunction · 0.70
autoLayoutFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected