Listing 7-11 shows an example where the initial data type is string, but I will obtain its value as a bool.
(Bilgisayar) in computer science, the Boolean or logical data type is a primitive data type having one of two values: true or false, intended to represent the truth values of logic and Boolean algebra
bool
النطق
علم أصول الكلمات
() From a keyword in C++ and derived programming languages, short for Boolean.