(node *exprpb.Expr)
| 788 | } |
| 789 | |
| 790 | func isNullLiteral(node *exprpb.Expr) bool { |
| 791 | _, isConst := node.ExprKind.(*exprpb.Expr_ConstExpr) |
| 792 | if !isConst { |
| 793 | return false |
| 794 | } |
| 795 | _, isNull := node.GetConstExpr().ConstantKind.(*exprpb.Constant_NullValue) |
| 796 | return isNull |
| 797 | } |
| 798 | |
| 799 | func isBoolLiteral(node *exprpb.Expr) bool { |
| 800 | _, isConst := node.ExprKind.(*exprpb.Expr_ConstExpr) |