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

Method OperandTrait

common/decls/decls.go:685–690  ·  view source on GitHub ↗

OperandTrait returns the trait mask of the first operand to the overload call, e.g. `traits.Indexer`

()

Source from the content-addressed store, hash-verified

683// OperandTrait returns the trait mask of the first operand to the overload call, e.g.
684// `traits.Indexer`
685func (o *OverloadDecl) OperandTrait() int {
686 if o == nil {
687 return 0
688 }
689 return o.operandTrait
690}
691
692// ResultType indicates the output type from calling the function.
693func (o *OverloadDecl) ResultType() *types.Type {

Callers 4

BindingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected