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

Function FunctionBinding

cel/decls.go:343–345  ·  view source on GitHub ↗

FunctionBinding provides the implementation of a variadic overload. The provided function is protected by a runtime type-guard which ensures runtime type agreement between the overload signature and runtime argument types.

(binding functions.FunctionOp)

Source from the content-addressed store, hash-verified

341// FunctionBinding provides the implementation of a variadic overload. The provided function is protected by a runtime
342// type-guard which ensures runtime type agreement between the overload signature and runtime argument types.
343func FunctionBinding(binding functions.FunctionOp) OverloadOpt {
344 return decls.FunctionBinding(binding)
345}
346
347// LateFunctionBinding indicates that the function has a binding which is not known at compile time.
348// This is useful for functions which have side-effects or are not deterministically computable.

Callers 14

CompileOptionsMethod · 0.92
CompileOptionsMethod · 0.92
CompileOptionsMethod · 0.92
CompileOptionsMethod · 0.92
exercise4Function · 0.92
TestFunctionBindingFunction · 0.70
CompileOptionsMethod · 0.70

Calls 1

FunctionBindingFunction · 0.92