Booleans
Booleans in Internet Object
Boolean values are represented using T
and F
. true
and false
. The true values can be represented using T
or true
keywords. The false values can be represented using F
or false
keywords.
It is recommended that the keywords T and F keywords are preferred while denoting true and false values respectively.
In the following example, isActive
is of boolean type and will accept only boolean values i.e T
, F
, true
, false
.
Last updated