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

Method Description

policy/parser.go:244–249  ·  view source on GitHub ↗

Description returns the rule description if it is set.

()

Source from the content-addressed store, hash-verified

242
243// Description returns the rule description if it is set.
244func (r *Rule) Description() ValueString {
245 if r.description != nil {
246 return *r.description
247 }
248 return ValueString{}
249}
250
251// Matches returns the ordered set of Match declarations.
252func (r *Rule) Matches() []*Match {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected