Data Types

boolean

Supported By

Description

The boolean data type represents a single truth value, which may be either true or false.

Note

The boolean value true can convert to the string "true" while the boolean value false can convert to the string "false". Conversely, the strings "true" and "false" can convert to the boolean values true and false respectively. No other value can be converted to boolean.