(q: QuantityExpr)
| 44 | readonly op1: Expression; |
| 45 | readonly op2: Expression; |
| 46 | readonly ops: ReadonlyArray<Expression>; |
| 47 | }; |
| 48 | |
| 49 | /** Check if an expression is a Quantity and narrow the type. */ |
| 50 | export function isQuantity(expr: Expression): expr is QuantityExpr { |
| 51 | return isFunction(expr, 'Quantity'); |
| 52 | } |
no test coverage detected