MCPcopy 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
378func (e *expr) AsSelect() SelectExpr {
379 if e.Kind() != SelectKind {
380 return nilSel
381 }
382 return e.exprKindCase.(SelectExpr)
383}
384
385func (e *expr) AsStruct() StructExpr {
386 if e.Kind() != StructKind {

Callers

nothing calls this directly

Calls 1

KindMethod · 0.95

Tested by

no test coverage detected