Skip to content

Commit c23d0f7

Browse files
author
Jan-Olof Hendig
committed
Added docs for Pair.values
1 parent 60aa1dd commit c23d0f7

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

doc/Type/Pair.pod6

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,21 @@ of the invocant.
165165
166166
say ('Perl' => 6).keys; # (Perl)
167167
168+
=head2 method values
169+
170+
Defined as:
171+
172+
multi method values(Pair:D:) returns List:D
173+
174+
Usage:
175+
176+
PAIR.values
177+
178+
Returns a L<List|/type/List> containing the L<value|/type/Pair#method_value>
179+
of the invocant.
180+
181+
say ('Perl' => 6).values; # (6)
182+
168183
=head2 method freeze
169184
170185
Defined as:

0 commit comments

Comments
 (0)