MCPcopy Index your code
hub / github.com/coder/coder / AstBoolean

Struct AstBoolean

coderd/rbac/regosql/sqltypes/bool.go:8–11  ·  view source on GitHub ↗

AstBoolean is a literal true/false value.

Source from the content-addressed store, hash-verified

6
7// AstBoolean is a literal true/false value.
8type AstBoolean struct {
9 Source RegoSource
10 Value bool
11}
12
13func Bool(t bool) BooleanNode {
14 return AstBoolean{Value: t, Source: RegoSource(strconv.FormatBool(t))}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected