pxt-calliope/docs/reference/types/boolean.md
Peli de Halleux 5daa9a0bb6 broken links
2016-08-11 10:44:17 -07:00

533 B

Boolean

true or false.

A Boolean has one of two possible values: true; false. Boolean (logical) operators (and, or, not) take Boolean inputs and yields a Boolean value. Comparison operators on other types (numbers, strings yields a Boolean value.

The following blocks represent the true and false Boolean values, which can be plugged in anywhere a Boolean value is expected:

true;
false;

See Also

boolean (blocks)