Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
438
func
(b baseCompositionStep) isConditional() bool {
439
c := b.cond
440
return
c.Kind() != ast.LiteralKind || c.AsLiteral() != types.True
441
}
442
443
func
(b baseCompositionStep) expr() ast.Expr {
444
return
b.out
Callers
nothing calls this directly
Calls
2
Kind
Method · 0.65
AsLiteral
Method · 0.65
Tested by
no test coverage detected