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

Method PresenceTest

cel/macro.go:133–133  ·  view source on GitHub ↗

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

(operand *exprpb.Expr, field string)

Source from the content-addressed store, hash-verified

131
132 // PresenceTest creates a Select TestOnly Expr value for modelling has() semantics.
133 PresenceTest(operand *exprpb.Expr, field string) *exprpb.Expr
134
135 // Select create a field traversal Expr value.
136 Select(operand *exprpb.Expr, field string) *exprpb.Expr

Callers 1

TestMacroInteropFunction · 0.65

Implementers 1

adaptingHelpercel/macro.go

Calls

no outgoing calls

Tested by 1

TestMacroInteropFunction · 0.52