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

Method isConditional

policy/composer.go:482–485  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

480}
481
482func (b baseCompositionStep) isConditional() bool {
483 c := b.cond
484 return c.Kind() != ast.LiteralKind || c.AsLiteral() != types.True
485}
486
487func (b baseCompositionStep) expr() ast.Expr {
488 return b.out

Callers

nothing calls this directly

Calls 2

KindMethod · 0.65
AsLiteralMethod · 0.65

Tested by

no test coverage detected