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

Method isConditional

policy/composer.go:438–441  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

436}
437
438func (b baseCompositionStep) isConditional() bool {
439 c := b.cond
440 return c.Kind() != ast.LiteralKind || c.AsLiteral() != types.True
441}
442
443func (b baseCompositionStep) expr() ast.Expr {
444 return b.out

Callers

nothing calls this directly

Calls 2

KindMethod · 0.65
AsLiteralMethod · 0.65

Tested by

no test coverage detected