MCPcopy Index your code
hub / github.com/expr-lang/expr / Func

Function Func

test/fuzz/fuzz_env.go:34–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

32}
33
34func Func() expr.Option {
35 return expr.Function("fn", func(params ...any) (any, error) {
36 return fmt.Sprintf("fn(%v)", params), nil
37 })
38}
39
40type Foo struct {
41 Bar string

Callers 2

mainFunction · 0.92
FuzzExprFunction · 0.85

Calls 2

FunctionFunction · 0.92
SprintfMethod · 0.80

Tested by 1

FuzzExprFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…