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

Method QualBool

interpreter/attribute_patterns.go:85–89  ·  view source on GitHub ↗

QualBool adds a bool qualifier pattern for a map index operation to the AttributePattern.

(pattern bool)

Source from the content-addressed store, hash-verified

83
84// QualBool adds a bool qualifier pattern for a map index operation to the AttributePattern.
85func (apat *AttributePattern) QualBool(pattern bool) *AttributePattern {
86 apat.qualifierPatterns = append(apat.qualifierPatterns,
87 &AttributeQualifierPattern{value: pattern})
88 return apat
89}
90
91// Wildcard adds a special sentinel qualifier pattern that will match any single qualifier.
92func (apat *AttributePattern) Wildcard() *AttributePattern {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected