Skip to content

Commit 14a8a51

Browse files
committed
Document Code.is-implementation-detail method
1 parent f80067e commit 14a8a51

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

doc/Type/Code.pod6

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -187,6 +187,15 @@ Returns the line number in which the code object was declared.
187187
188188
say &infix:<+>.line;
189189
190+
=head2 method is-implementation-detail
191+
192+
method is-implementation-detail(--> False)
193+
194+
Note: this trait is available in Rakudo compiler starting from 2020.05 release.
195+
196+
Returns C<True> if code object was marked with C<is implementation-detail> trait,
197+
C<False> otherwise.
198+
190199
=end pod
191200

192201
# vim: expandtab softtabstop=4 shiftwidth=4 ft=perl6

0 commit comments

Comments
 (0)