boolean bool code example
Example 1: boolean
In computer science, the Boolean data type is a data type that has one of two possible values which is intended to represent the two truth values of logic and Boolean algebra. It is named after George Boole, who first defined an algebraic system of logic in the mid 19th century.
Example 2: boolean
bool x = true;
if (x) { print ("Hello") }