(expr: CELExpr)
| 43 | }; |
| 44 | |
| 45 | const getConstantStringValue = (expr: CELExpr): string => { |
| 46 | if ( |
| 47 | expr.exprKind?.case === "constExpr" && |
| 48 | expr.exprKind.value.constantKind?.case === "stringValue" |
| 49 | ) { |
| 50 | return expr.exprKind.value.constantKind.value; |
| 51 | } |
| 52 | return ""; |
| 53 | }; |
| 54 | |
| 55 | const getConstantBoolValue = (expr: CELExpr): boolean => { |
| 56 | if ( |
no outgoing calls
no test coverage detected