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

Method NewObjectFieldInit

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

NewObjectFieldInit creates a new Object field initializer from the field name and value.

(field string, init *exprpb.Expr, optional bool)

Source from the content-addressed store, hash-verified

93
94 // NewObjectFieldInit creates a new Object field initializer from the field name and value.
95 NewObjectFieldInit(field string, init *exprpb.Expr, optional bool) *exprpb.Expr_CreateStruct_Entry
96
97 // Fold creates a fold comprehension instruction.
98 //

Callers

nothing calls this directly

Implementers 1

adaptingHelpercel/macro.go

Calls

no outgoing calls

Tested by

no test coverage detected