We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83209fc commit d190696Copy full SHA for d190696
doc/Type/Capture.pod6
@@ -117,6 +117,22 @@ ordinal position starting from zero.
117
my $capture = \(2, 3, 5, apples => (red => 2));
118
say $capture.keys; # (0 1 2 apples)
119
120
+=head2 method values
121
+
122
+Defined as:
123
124
+ multi method values(Capture:D:) returns Seq:D
125
126
+Usage:
127
128
+ $capture.values
129
130
+Returns a L<Seq|/type/Seq> containing all positional values followed by all
131
+named argument values.
132
133
+ my $capture = \(2, 3, 5, apples => (red => 2));
134
+ say $capture.values; # (2 3 5 red => 2)
135
136
=head2 method Bool
137
138
Defined as:
0 commit comments