Chapter 9 : Datatype : Boolean



Datatype : Boolean



Booleans are logical data type that can have only two values. true or false.

What is a Booleans


In Swift programming the Boolean type is called as Bool







Note : Booleans are mostly used to compare two values with if statements,