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

Function ifTopExpr

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

Source from the content-addressed store, hash-verified

148832const ifYEnc = ($orient, a, b)=>ifEnc(`${$orient} !== '${Top}' && ${$orient} !== '${Bottom}'`, a, b);
148833const ifLeftTopExpr = ($orient, a, b)=>ifExpr(`${$orient} === '${Left}' || ${$orient} === '${Top}'`, a, b);
148834const ifTopExpr = ($orient, a, b)=>ifExpr(`${$orient} === '${Top}'`, a, b);
148835const ifRightExpr = ($orient, a, b)=>ifExpr(`${$orient} === '${Right}'`, a, b);
148836const ifEnc = (test, a, b)=>{
148837 // ensure inputs are encoder objects (or null)

Callers 1

ifTopFunction · 0.70

Calls 1

ifExprFunction · 0.70

Tested by

no test coverage detected