Course of Raku / Advanced / Containers / Introspecting containers / Exercises
What is it
Problem
WHAT does not merely describe a type — it returns the
type object itself, which you can compare with the ===
operator.
Declare two variables: $a holding the integer
42 and $b holding the string 'x'.
For each one, print whether its WHAT is the
Int type.
Example
The program prints:
True
False