Re: Tip: what is in an array's cell

[email protected] (ToddAndMargo via perl6-users) Mon, 13 Jul 2026 10:32:27 -0700
Newsgroups perl.perl6.users
Message-ID <[email protected]>
On 7/13/26 4:40 AM, Elizabeth Mattijsen wrote:
> In relation to all this, there's the `.are` method:https://docs.raku.org/routine/are
> 
> my @a = 42, 3.14, "foo";
> say @a.are;  # (Cool)
> 
> 
> use v6.e.PREVIEW;
> my @b = 1,2,3;
> say @a.are(Int);  # False
> say @b.are(Int);  # True
> 
> 
> Liz

Elegant!