Name

Boolean

Examples
a = False
if not a:
    rect(30, 20, 50, 50)
a = True
if a:
    line(20, 10, 90, 80)
    line(20, 80, 90, 10)
Description Datatype for the Boolean values True and False. It is common to use boolean values with control statements to determine the flow of a program.
Syntax
var = booleanValue
Parameters
varvariable name referencing the value
booleanValueTrue or False
Related True
False

Updated on Tue Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.