See Original text in context
method antipair(Pair:D: --> Pair:D)
Returns a new Pair object with key and value exchanged.
Pair
my $p = (d => 'Raku').antipair;say $p.key; # OUTPUT: «Raku» say $p.value; # OUTPUT: «d»