method key
| 1 | role Enumeration | 
| 1.1 | (Enumeration) method key | 
| 2 | class Pair | 
| 2.1 | (Pair) method key | 
| 3 | class X::Syntax::NegatedPair | 
| 3.1 | (X::Syntax::NegatedPair) method key | 
Documentation for method key assembled from the following types:
role Enumeration
From Enumeration
(Enumeration) method key
An Enumeration property.
<Þor Oðin Freija>;say Freija.key; # OUTPUT: «Freija»
class Pair
From Pair
(Pair) method key
Defined as:
multi method key(Pair:)
Returns the key part of the Pair.
my = (Perl => 6);say .key; # OUTPUT: «Perl»
class X::Syntax::NegatedPair
(X::Syntax::NegatedPair) method key
Returns the key of the pair that caused the error.