MCPcopy Create free account
hub / github.com/cel-expr/cel-go / NewPresenceTest

Method NewPresenceTest

parser/macro.go:285–285  ·  view source on GitHub ↗

NewPresenceTest creates a Select TestOnly Expr value for modelling has() semantics.

(operand ast.Expr, field string)

Source from the content-addressed store, hash-verified

283
284 // NewPresenceTest creates a Select TestOnly Expr value for modelling has() semantics.
285 NewPresenceTest(operand ast.Expr, field string) ast.Expr
286
287 // NewSelect create a field traversal Expr value.
288 NewSelect(operand ast.Expr, field string) ast.Expr

Callers 6

pruneMethod · 0.65
newPresenceTestMethod · 0.65
CopyMethod · 0.65
NewPresenceTestMethod · 0.65
MakeHasFunction · 0.65
hasProtoExtFunction · 0.65

Implementers 1

exprHelperparser/helper.go

Calls

no outgoing calls

Tested by

no test coverage detected