This is the ThingsDB documentation for version v0, click here for the latest version!


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.
is_bool Test if a given value is of type bool.