We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e06b267 commit 9c5c3cbCopy full SHA for 9c5c3cb
src/expressions/literal-expr.md
@@ -150,8 +150,12 @@ The value of the expression is determined from the string representation of the
150
151
A boolean literal expression consists of one of the keywords `true` or `false`.
152
153
-> **Note**: This section is incomplete.
+The expression's type is the primitive [boolean type], and its value is:
154
+ * true if the keyword is `true`
155
+ * false if the keyword is `false`
156
+
157
158
+[boolean type]: ../types/boolean.md
159
[constant expression]: ../const_eval.md#constant-expressions
160
[floating-point types]: ../types/numeric.md#floating-point-types
161
[lint check]: ../attributes/diagnostics.md#lint-check-attributes
0 commit comments