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

Method AsComprehension

common/ast/expr.go:343–348  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

341}
342
343func (e *expr) AsComprehension() ComprehensionExpr {
344 if e.Kind() != ComprehensionKind {
345 return nilCompre
346 }
347 return e.exprKindCase.(ComprehensionExpr)
348}
349
350func (e *expr) AsIdent() string {
351 if e.Kind() != IdentKind {

Callers

nothing calls this directly

Calls 1

KindMethod · 0.95

Tested by

no test coverage detected