(expr: &ast::Expr)
| 114 | } |
| 115 | |
| 116 | pub(super) fn is_null_literal(expr: &ast::Expr) -> bool { |
| 117 | matches!( |
| 118 | expr, |
| 119 | ast::Expr::Value(v) if matches!(v.value, ast::Value::Null) |
| 120 | ) |
| 121 | } |
| 122 | |
| 123 | pub(super) fn value_to_coord_literal(v: &Value, dim: &str) -> Result<ArrayCoordLiteral> { |
| 124 | match v { |