Course of Raku / Essentials / Variables and data types essentials / Boolean type

Quiz: Boolean values

Select all examples with correct Boolean values in Raku

0true
0false
1TrueThis is the only correct form for the True value.
1FalseThis is the only correct form for the False value.
0$TrueThis is a variable, not a Boolean literal.
0$FalseAs well as this one.
0TRUE
0FALSE
01This may be OK in a Boolean check, but this is not a Boolean value by itself.
00This one too.
0nullThere is no such thing in Raku.

Course navigation

Solution: Triple negation   |   Ranges

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська