Course of Raku / Advanced / Containers / Subscript adverbs 🆕 / Exercises
Does the key exist
Problem
Given the hash a => 1, b => 2, use a subscript
adverb to print whether the key z exists.
Example
The program prints:
FalseCourse of Raku / Advanced / Containers / Subscript adverbs 🆕 / Exercises
Given the hash a => 1, b => 2, use a subscript
adverb to print whether the key z exists.
The program prints:
False