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

Method QualifyIfPresent

interpreter/attribute_patterns.go:394–396  ·  view source on GitHub ↗

QualifyIfPresent is an implementation of the Qualifier interface method.

(vars Activation, obj any, presenceOnly bool)

Source from the content-addressed store, hash-verified

392
393// QualifyIfPresent is an implementation of the Qualifier interface method.
394func (m *attributeMatcher) QualifyIfPresent(vars Activation, obj any, presenceOnly bool) (any, bool, error) {
395 return attrQualifyIfPresent(m.fac, vars, obj, m, presenceOnly)
396}

Callers

nothing calls this directly

Calls 1

attrQualifyIfPresentFunction · 0.85

Tested by

no test coverage detected