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

Method HasBinding

common/decls/decls.go:752–754  ·  view source on GitHub ↗

HasBinding indicates whether the overload already has a definition.

()

Source from the content-addressed store, hash-verified

750
751// HasBinding indicates whether the overload already has a definition.
752func (o *OverloadDecl) HasBinding() bool {
753 return o != nil && (o.unaryOp != nil || o.binaryOp != nil || o.functionOp != nil)
754}
755
756// guardedUnaryOp creates an invocation guard around the provided unary operator, if one is defined.
757func (o *OverloadDecl) guardedUnaryOp(funcName string, disableTypeGuards bool) functions.UnaryOp {

Callers 7

AddOverloadMethod · 0.80
BindingsMethod · 0.80
UnaryBindingFunction · 0.80
BinaryBindingFunction · 0.80
FunctionBindingFunction · 0.80
LateFunctionBindingFunction · 0.80

Calls

no outgoing calls

Tested by 1