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

Function function

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

Source from the content-addressed store, hash-verified

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

Callers 1

initFunction · 0.85

Calls 1

NewFunctionFunction · 0.92

Tested by

no test coverage detected