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

Function function

common/stdlib/standard.go:926–932  ·  view source on GitHub ↗
(name string, opts ...decls.FunctionOpt)

Source from the content-addressed store, hash-verified

924}
925
926func function(name string, opts ...decls.FunctionOpt) *decls.FunctionDecl {
927 fn, err := decls.NewFunction(name, opts...)
928 if err != nil {
929 panic(err)
930 }
931 return fn
932}
933
934func argTypes(args ...*types.Type) []*types.Type {
935 return args

Callers 1

initFunction · 0.85

Calls 1

NewFunctionFunction · 0.92

Tested by

no test coverage detected