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

Method QualifyIfPresent

interpreter/attributes.go:1257–1259  ·  view source on GitHub ↗
(vars Activation, obj any, presenceOnly bool)

Source from the content-addressed store, hash-verified

1255}
1256
1257func (q *doubleQualifier) QualifyIfPresent(vars Activation, obj any, presenceOnly bool) (any, bool, error) {
1258 return q.qualifyInternal(vars, obj, true, presenceOnly)
1259}
1260
1261func (q *doubleQualifier) qualifyInternal(vars Activation, obj any, presenceTest, presenceOnly bool) (any, bool, error) {
1262 return refQualify(q.adapter, obj, q.celValue, presenceTest, presenceOnly, q.errorOnBadPresenceTest)

Callers

nothing calls this directly

Calls 1

qualifyInternalMethod · 0.95

Tested by

no test coverage detected