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

Method OperandTrait

common/decls/decls.go:719–724  ·  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

717// OperandTrait returns the trait mask of the first operand to the overload call, e.g.
718// `traits.Indexer`
719func (o *OverloadDecl) OperandTrait() int {
720 if o == nil {
721 return 0
722 }
723 return o.operandTrait
724}
725
726// ResultType indicates the output type from calling the function.
727func (o *OverloadDecl) ResultType() *types.Type {

Callers 4

BindingsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected