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

Function FunctionBinding

cel/decls.go:339–341  ·  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

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

Callers 13

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

Calls 1

FunctionBindingFunction · 0.92