Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cel-expr/cel-go
/ AsSelect
Method
AsSelect
common/ast/expr.go:378–383 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
376
}
377
378
func
(e *expr) AsSelect() SelectExpr {
379
if
e.Kind() != SelectKind {
380
return
nilSel
381
}
382
return
e.exprKindCase.(SelectExpr)
383
}
384
385
func
(e *expr) AsStruct() StructExpr {
386
if
e.Kind() != StructKind {
Callers
nothing calls this directly
Calls
1
Kind
Method · 0.95
Tested by
no test coverage detected