(expr: BasicExpression)
| 125 | * ``` |
| 126 | */ |
| 127 | export function extractValue(expr: BasicExpression): any { |
| 128 | if (expr.type === `val`) { |
| 129 | return expr.value |
| 130 | } |
| 131 | return undefined |
| 132 | } |
| 133 | |
| 134 | /** |
| 135 | * Generic expression tree walker that visits each node in the expression. |
no outgoing calls
no test coverage detected