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

Function ifRight

docs/app/js/sanddance-app.js:148826–148830  ·  view source on GitHub ↗
(orient, a, b)

Source from the content-addressed store, hash-verified

148824 value: b
148825 };
148826const ifRight = (orient, a, b)=>isSignal(orient) ? ifRightExpr(orient.signal, a, b) : orient === Right ? {
148827 value: a
148828 } : {
148829 value: b
148830 };
148831const ifXEnc = ($orient, a, b)=>ifEnc(`${$orient} === '${Top}' || ${$orient} === '${Bottom}'`, a, b);
148832const ifYEnc = ($orient, a, b)=>ifEnc(`${$orient} !== '${Top}' && ${$orient} !== '${Bottom}'`, a, b);
148833const ifLeftTopExpr = ($orient, a, b)=>ifExpr(`${$orient} === '${Left}' || ${$orient} === '${Top}'`, a, b);

Callers 1

axisLabelsFunction · 0.70

Calls 2

isSignalFunction · 0.70
ifRightExprFunction · 0.70

Tested by

no test coverage detected