Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
go back to original
  • Loading branch information
tbrowder committed Dec 12, 2016
1 parent d174a94 commit 88240a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/classtut.pod6
Expand Up @@ -115,15 +115,15 @@ classes. The example above uses the class name C<Task> so that other code can
refer to it later, such as to create class instances by calling the C<new>
method.
Built-in type objects are I<undefined>, in the sense that they return C<False> if you
Type objects are I<undefined>, in the sense that they return C<False> if you
call the C<.defined> method on them. You can use this method to find out if
a given object is a type object or not:
my $obj = Int;
if $obj.defined {
say "Ordinary, user-defined object";
} else {
say "Built-in type object";
say "Type object";
}
=head1 State
Expand Down

0 comments on commit 88240a9

Please sign in to comment.