In Pair§
See primary documentation in context for method key
multi method key(Pair:)
Returns the key part of the Pair
.
my = (Raku => "d");say .key; # OUTPUT: «Raku»
In role Enumeration§
See primary documentation in context for method key
An Enumeration
property.
<Þor Oðin Freija>;say Freija.key; # OUTPUT: «Freija»
In X::Syntax::NegatedPair§
See primary documentation in context for method key
Returns the key of the pair that caused the error.