Sometimes, you need to store answers to simple yes/no questions, such as the following:
- Is it raining?
- Are there any available seats at the restaurant?
For this, you use Boolean values. Swift provides a Bool type that can be assigned true or false.
Sometimes, you need to store answers to simple yes/no questions, such as the following:
For this, you use Boolean values. Swift provides a Bool type that can be assigned true or false.
3.128.199.138