Browse Source

Create bool.md

Marco Bambini 6 years ago
parent
commit
6558f66c9e
1 changed files with 7 additions and 0 deletions
  1. 7 0
      docs/bool.md

+ 7 - 0
docs/bool.md

@@ -0,0 +1,7 @@
+### Bool
+
+The Bool data type can have only two values, they are the literals true and false. A Bool value expresses the validity of a condition (tells whether the condition is true or false).
+```swift
+	var a = true;
+	var b = false;
+```