Created
August 14, 2016 13:24
-
-
Save dogbert17/c981bf86c279da465ffeb885fe1febf0 to your computer and use it in GitHub Desktop.
Attempt to document Bool.gist
This file contains 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 routine gist | |
multi method gist(Bool:D) returns Str:D | |
multi method gist(Bool:U) returns Str:D | |
Returns a L<Str|/type/Str> representation of the invocant unless called on the | |
type object, in which case C<(Bool)>, i.e. the type name in parenthesis, is | |
returned instead. | |
say Bool.gist; # (Bool) | |
say True.gist; # True | |
say False.gist; # False |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment