Course of Raku / Advanced / Containers / Contexts 🆕 / Exercises

A Boolean check

Problem

Using the Boolean-context operator, print whether an empty array is true or false.

Example

The program prints:

False

Solution

See the solution

Course navigation

Solution: Force a number   |   Solution: A Boolean check