Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
364
func
(e *expr) AsList() ListExpr {
365
if
e.Kind() != ListKind {
366
return
nilList
367
}
368
return
e.exprKindCase.(ListExpr)
369
}
370
371
func
(e *expr) AsMap() MapExpr {
372
if
e.Kind() != MapKind {
Callers
nothing calls this directly
Calls
1
Kind
Method · 0.95
Tested by
no test coverage detected