Created
June 10, 2016 18:24
-
-
Save dogbert17/acbbd419534b528ca29bfacf4402ac81 to your computer and use it in GitHub Desktop.
Attempt to document Baggy.keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=head2 method keys | |
Defined as: | |
method keys(Baggy:D:) returns List:D | |
Returns a list of all keys in the C<Baggy> object without taking | |
their individual weights into account as opposed to L<kxxv|#method kxxv>. | |
my $breakfast = bag <eggs spam spam spam>; | |
say $breakfast.keys; # (spam eggs) | |
my $n = ("a" => 0, "b" => 2).BagHash; | |
say $n.keys; # (b) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment