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

Method QualifierValueEquals

interpreter/attribute_patterns.go:148–151  ·  view source on GitHub ↗

QualifierValueEquals implementation for field qualifiers.

(value any)

Source from the content-addressed store, hash-verified

146
147// QualifierValueEquals implementation for field qualifiers.
148func (q *fieldQualifier) QualifierValueEquals(value any) bool {
149 sval, ok := value.(string)
150 return ok && q.Name == sval
151}
152
153// QualifierValueEquals implementation for string qualifiers.
154func (q *stringQualifier) QualifierValueEquals(value any) bool {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected