Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ AsMap
Method
AsMap
common/ast/expr.go:371–376 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
369
}
370
371
func
(e *expr) AsMap() MapExpr {
372
if
e.Kind() != MapKind {
373
return
nilMap
374
}
375
return
e.exprKindCase.(MapExpr)
376
}
377
378
func
(e *expr) AsSelect() SelectExpr {
379
if
e.Kind() != SelectKind {
Callers
nothing calls this directly
Calls
1
Kind
Method · 0.95
Tested by
no test coverage detected