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 Mon Sep 21 15:53:24 2020.

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