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

Method QualifyIfPresent

interpreter/attribute_patterns.go:397–399  ·  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

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

Callers

nothing calls this directly

Calls 1

attrQualifyIfPresentFunction · 0.85

Tested by

no test coverage detected