Course of Raku / Essentials / Boolean type

Quiz: Boolean values

Select all examples with correct Boolean values in Raku

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

Course navigation

Numbers / Operations with numbers   |   Boolean operations