MCPcopy 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
371func (e *expr) AsMap() MapExpr {
372 if e.Kind() != MapKind {
373 return nilMap
374 }
375 return e.exprKindCase.(MapExpr)
376}
377
378func (e *expr) AsSelect() SelectExpr {
379 if e.Kind() != SelectKind {

Callers

nothing calls this directly

Calls 1

KindMethod · 0.95

Tested by

no test coverage detected