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 b8d7984 commit 0c1653cCopy full SHA for 0c1653c
doc/Type/Str.pod6
@@ -837,7 +837,7 @@ one of the following will:
837
838
=head2 method starts-with
839
840
- multi method starts-with(Str:D: Str(Cool) $needle --> Bool:D)
+ multi method starts-with(Str:D: Str(Cool) $needle --> True:D)
841
842
Returns C<True> if the invocant is identical to or starts with C<$needle>.
843
@@ -846,7 +846,7 @@ Returns C<True> if the invocant is identical to or starts with C<$needle>.
846
847
=head2 method ends-with
848
849
- multi method ends-with(Str:D: Str(Cool) $needle --> Bool:D)
+ multi method ends-with(Str:D: Str(Cool) $needle --> True:D)
850
851
Returns C<True> if the invocant is identical to or ends with C<$needle>.
852
0 commit comments