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

Function mult

docs/app/js/sanddance-app.js:148862–148866  ·  view source on GitHub ↗
(sign, value16)

Source from the content-addressed store, hash-verified

148860 });
148861const toExpr = (v)=>isSignal(v) ? v.signal : v == null ? null : (0, _vegaUtil.stringValue)(v);
148862const mult = (sign, value16)=>value16 === 0 ? 0 : isSignal(sign) ? {
148863 signal: `(${sign.signal}) * ${value16}`
148864 } : {
148865 value: sign * value16
148866 };
148867const patch = (value17, base)=>{
148868 const s = value17.signal;
148869 return s && s.endsWith("(null)") ? {

Callers 1

axisTitleFunction · 0.70

Calls 1

isSignalFunction · 0.70

Tested by

no test coverage detected