method antipair
Documentation for method antipair
assembled from the following types:
class Pair
From Pair
(Pair) method antipair
Defined as:
method antipair(Pair: --> Pair)
Returns a new Pair
object with key and value exchanged.
my = (d => 'Raku').antipair;say .key; # OUTPUT: «Raku»say .value; # OUTPUT: «d»