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

Method AsList

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

Source from the content-addressed store, hash-verified

362}
363
364func (e *expr) AsList() ListExpr {
365 if e.Kind() != ListKind {
366 return nilList
367 }
368 return e.exprKindCase.(ListExpr)
369}
370
371func (e *expr) AsMap() MapExpr {
372 if e.Kind() != MapKind {

Callers

nothing calls this directly

Calls 1

KindMethod · 0.95

Tested by

no test coverage detected