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