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

Function EnableBuiltin

expr.go:190–194  ·  view source on GitHub ↗

EnableBuiltin enables builtin function.

(name string)

Source from the content-addressed store, hash-verified

188
189// EnableBuiltin enables builtin function.
190func EnableBuiltin(name string) Option {
191 return func(c *conf.Config) {
192 delete(c.Disabled, name)
193 }
194}
195
196// WithContext passes context to all functions calls with a context.Context argument.
197func WithContext(name string) Option {

Callers 1

Calls

no outgoing calls

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…