Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/coder/coder
/ Bool
Function
Bool
coderd/rbac/regosql/sqltypes/bool.go:13–15 ·
view source on GitHub ↗
(t bool)
Source
from the content-addressed store, hash-verified
11
}
12
13
func
Bool(t bool) BooleanNode {
14
return
AstBoolean{Value: t, Source: RegoSource(strconv.FormatBool(t))}
15
}
16
17
func
(AstBoolean) IsBooleanNode() {}
18
func
(AstBoolean) UseAs() Node {
return
AstBoolean{} }
Callers
5
ConvertRegoAst
Function · 0.92
convertTerm
Function · 0.92
TestEquality
Function · 0.92
TestMembership
Function · 0.92
newBinaryOp
Function · 0.85
Calls
1
RegoSource
TypeAlias · 0.85
Tested by
2
TestEquality
Function · 0.74
TestMembership
Function · 0.74