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

Function invalidOptionalElementInit

interpreter/interpretable.go:1940–1942  ·  view source on GitHub ↗
(value ref.Val)

Source from the content-addressed store, hash-verified

1938}
1939
1940func invalidOptionalElementInit(value ref.Val) ref.Val {
1941 return types.NewErr("cannot initialize optional list element from non-optional value %v", value)
1942}
1943
1944// newFolder creates or initializes a pooled folder instance.
1945func newFolder(eval *evalFold, frame *ExecutionFrame) *folder {

Callers 1

ExecMethod · 0.85

Calls 1

NewErrFunction · 0.92

Tested by

no test coverage detected