(expr: BasicExpression)
| 105 | * ``` |
| 106 | */ |
| 107 | export function extractFieldPath(expr: BasicExpression): FieldPath | null { |
| 108 | if (expr.type === `ref`) { |
| 109 | return expr.path |
| 110 | } |
| 111 | return null |
| 112 | } |
| 113 | |
| 114 | /** |
| 115 | * Extracts the value from a Value expression. |
no outgoing calls
no test coverage detected