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

Function BinaryBinding

cel/decls.go:337–339  ·  view source on GitHub ↗

BinaryBinding provides the implementation of a binary 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.BinaryOp)

Source from the content-addressed store, hash-verified

335// BinaryBinding provides the implementation of a binary overload. The provided function is protected by a runtime
336// type-guard which ensures runtime type agreement between the overload signature and runtime argument types.
337func BinaryBinding(binding functions.BinaryOp) OverloadOpt {
338 return decls.BinaryBinding(binding)
339}
340
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.

Callers 15

CompileOptionsMethod · 0.92
CompileOptionsMethod · 0.92
CompileOptionsMethod · 0.92
CompileOptionsMethod · 0.92
CompileOptionsMethod · 0.92
CompileOptionsMethod · 0.92
TestMathNonMatchFunction · 0.92
CompileOptionsMethod · 0.92
ExampleFunction · 0.92
Example_globalOverloadFunction · 0.92
Example_cel_OverloadFunction · 0.92
CompileOptionsMethod · 0.92

Calls 1

BinaryBindingFunction · 0.92

Tested by 11

TestMathNonMatchFunction · 0.74
ExampleFunction · 0.74
Example_globalOverloadFunction · 0.74
Example_cel_OverloadFunction · 0.74
CompileOptionsMethod · 0.74
TestFunctionMergeFunction · 0.56
TestBinaryBindingFunction · 0.56
TestFunctionBindingFunction · 0.56
TestEnvFromConfigFunction · 0.56
TestExtendStdlibFunctionFunction · 0.56