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 29c0955 commit d3dc9f7Copy full SHA for d3dc9f7
doc/Type/Baggy.pod
@@ -237,6 +237,17 @@ object.
237
my $n = ("a" => 5, "b" => 1, "b" => 2).BagHash;
238
say $n.total; # 8
239
240
+=head2 method default
241
+
242
+Defined as:
243
244
+ method default(Baggy:D:) returns Int:D
245
246
+Returns zero.
247
248
+ my $breakfast = bag <eggs bacon>;
249
+ say $breakfast.default; # 0
250
251
=head2 method ACCEPTS
252
253
=comment TODO
0 commit comments