pair
ErrorsCollection

pair

Synthesised documentation from type/Enumeration

From type/Enumeration

See Original text in context

method pair(::?CLASS:D:)

Returns it as a Pair.

say g.pair# OUTPUT: «g => 1␤»