MCPcopy Create free account
hub / github.com/cel-expr/cel-go / AsStruct

Method AsStruct

common/ast/expr.go:385–390  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

383}
384
385func (e *expr) AsStruct() StructExpr {
386 if e.Kind() != StructKind {
387 return nilStruct
388 }
389 return e.exprKindCase.(StructExpr)
390}
391
392func (e *expr) SetKindCase(other Expr) {
393 if e == nil {

Callers

nothing calls this directly

Calls 1

KindMethod · 0.95

Tested by

no test coverage detected