LiteralBool creates an Expr value for a bool literal.
(value bool)
| 385 | |
| 386 | // LiteralBool creates an Expr value for a bool literal. |
| 387 | func (ah *adaptingHelper) LiteralBool(value bool) *exprpb.Expr { |
| 388 | return mustAdaptToProto(ah.modernHelper.NewLiteral(types.Bool(value))) |
| 389 | } |
| 390 | |
| 391 | // LiteralBytes creates an Expr value for a byte literal. |
| 392 | func (ah *adaptingHelper) LiteralBytes(value []byte) *exprpb.Expr { |
nothing calls this directly
no test coverage detected