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

Function BinaryBinding

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

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

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
CompileOptionsMethod · 0.92
Example_cel_OverloadFunction · 0.92

Calls 1

BinaryBindingFunction · 0.92

Tested by 11

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