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

Method QualifierValueEquals

interpreter/interpretable.go:1584–1587  ·  view source on GitHub ↗

QualifierValueEquals tests whether the incoming value is equal to the qualifying constant.

(value any)

Source from the content-addressed store, hash-verified

1582
1583// QualifierValueEquals tests whether the incoming value is equal to the qualifying constant.
1584func (e *evalWatchConstQual) QualifierValueEquals(value any) bool {
1585 qve, ok := e.ConstantQualifier.(qualifierValueEquator)
1586 return ok && qve.QualifierValueEquals(value)
1587}
1588
1589// evalWatchAttrQual observes the qualification of an object by a value computed at runtime.
1590type evalWatchAttrQual struct {

Callers

nothing calls this directly

Calls 1

QualifierValueEqualsMethod · 0.65

Tested by

no test coverage detected