MCPcopy 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
13func Bool(t bool) BooleanNode {
14 return AstBoolean{Value: t, Source: RegoSource(strconv.FormatBool(t))}
15}
16
17func (AstBoolean) IsBooleanNode() {}
18func (AstBoolean) UseAs() Node { return AstBoolean{} }

Callers 5

ConvertRegoAstFunction · 0.92
convertTermFunction · 0.92
TestEqualityFunction · 0.92
TestMembershipFunction · 0.92
newBinaryOpFunction · 0.85

Calls 1

RegoSourceTypeAlias · 0.85

Tested by 2

TestEqualityFunction · 0.74
TestMembershipFunction · 0.74