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

Method isConditional

policy/composer.go:488–491  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

486}
487
488func (b baseCompositionStep) isConditional() bool {
489 c := b.cond
490 return c.Kind() != ast.LiteralKind || c.AsLiteral() != types.True
491}
492
493func (b baseCompositionStep) expr() ast.Expr {
494 return b.out

Callers

nothing calls this directly

Calls 2

KindMethod · 0.65
AsLiteralMethod · 0.65

Tested by

no test coverage detected