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

Method NewList

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

NewList creates a CreateList instruction where the list is comprised of the optional set of elements provided as arguments.

(elems ...*exprpb.Expr)

Source from the content-addressed store, hash-verified

79 // NewList creates a CreateList instruction where the list is comprised of the optional set
80 // of elements provided as arguments.
81 NewList(elems ...*exprpb.Expr) *exprpb.Expr
82
83 // NewMap creates a CreateStruct instruction for a map where the map is comprised of the
84 // optional set of key, value entries.

Callers 8

adaptLiteralFunction · 0.65
NewListMethod · 0.65
optMapFunction · 0.65
optFlatMapFunction · 0.65
NewBindMacroMethod · 0.65
NewListMethod · 0.65
TestCustomExistsMacroFunction · 0.65

Implementers 1

adaptingHelpercel/macro.go

Calls

no outgoing calls

Tested by 1

TestCustomExistsMacroFunction · 0.52