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

Method Functions

cel/env.go:731–733  ·  view source on GitHub ↗

Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment.

()

Source from the content-addressed store, hash-verified

729
730// Functions returns a shallow copy of the Functions, keyed by function name, that have been configured in the environment.
731func (e *Env) Functions() map[string]*decls.FunctionDecl {
732 return maps.Clone(e.functions)
733}
734
735// Variables returns a shallow copy of the variables associated with the environment.
736func (e *Env) Variables() []*decls.VariableDecl {

Callers 6

ToConfigMethod · 0.95
TestFunctionsFunction · 0.95
TestFunctionsForVersionsFunction · 0.80
RenderMethod · 0.80
isLateBoundFunctionCallFunction · 0.80
isAsyncFunctionCallFunction · 0.80

Calls 1

CloneMethod · 0.45

Tested by 2

TestFunctionsFunction · 0.76
TestFunctionsForVersionsFunction · 0.64