* Check if a BasicExpression represents a null/undefined value
(exp: IR.BasicExpression<unknown>)
| 159 | * Check if a BasicExpression represents a null/undefined value |
| 160 | */ |
| 161 | function isNullValue(exp: IR.BasicExpression<unknown>): boolean { |
| 162 | return exp.type === `val` && (exp.value === null || exp.value === undefined) |
| 163 | } |
| 164 | |
| 165 | /** |
| 166 | * Compiles a function expression (operator) to SQL. |