( expr: Expression | null | undefined, operator?: string )
| 26 | } |
| 27 | |
| 28 | function isFunction( |
| 29 | expr: Expression | null | undefined, |
| 30 | operator?: string |
| 31 | ): expr is Expression & FunctionInterface { |
| 32 | return ( |
| 33 | expr?._kind === 'function' && |
| 34 | (operator === undefined || expr!.operator === operator) |
| 35 | ); |
| 36 | } |
| 37 | |
| 38 | /** |
| 39 | * Pure endpoint read for an `Interval` function expression: each endpoint |
no outgoing calls
no test coverage detected