(test, a, b)
| 148853 | }; |
| 148854 | const isSimple = (enc)=>enc == null || Object.keys(enc).length === 1; |
| 148855 | const ifExpr = (test, a, b)=>({ |
| 148856 | signal: `${test} ? (${toExpr(a)}) : (${toExpr(b)})` |
| 148857 | }); |
| 148858 | const ifOrient = ($orient, t, b, l, r)=>({ |
| 148859 | signal: (l != null ? `${$orient} === '${Left}' ? (${toExpr(l)}) : ` : "") + (b != null ? `${$orient} === '${Bottom}' ? (${toExpr(b)}) : ` : "") + (r != null ? `${$orient} === '${Right}' ? (${toExpr(r)}) : ` : "") + (t != null ? `${$orient} === '${Top}' ? (${toExpr(t)}) : ` : "") + "(null)" |
| 148860 | }); |
no test coverage detected