Skip to content

Commit 912e133

Browse files
committed
Split sub defined and method defined.
Fix issue #1800.
1 parent ae94bbe commit 912e133

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/Type/Mu.pod6

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,16 @@ L<Any|/type/Any>.
1818
1919
=head2 routine defined
2020
21+
Defined as
22+
2123
multi sub defined(Mu --> Bool:D)
24+
25+
invokes the C<.defined> method on the object and returns its result.
26+
27+
=head2 method defined
28+
29+
Defined as
30+
2231
multi method defined( --> Bool:D)
2332
2433
Returns C<False> on the type object, and C<True> otherwise.

0 commit comments

Comments
 (0)