bool

Booleans are either true or false. Other types can convert to bool by using the ! (not) operator or the bool function.

This code creates a bool property is_the_earth_flat to collection stuff:

.is_the_earth_flat = !true;
Function Description
bool Create a new boolean value.
isbool Test if a given value is of type bool.