Skip to content

Commit

Permalink
Document that 0 is neither positive nor negative.
Browse files Browse the repository at this point in the history
  • Loading branch information
schwern committed Feb 19, 2010
1 parent 627f631 commit 2ff82f7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/perl5i.pm
Original file line number Diff line number Diff line change
Expand Up @@ -252,12 +252,16 @@ Returns true of $thing is a number understood by Perl.
Returns true if $thing is a positive number.
0 is not positive.
=head2 is_negative
$is_negative = $thing->is_negative;
Returns true if $thing is a negative number.
0 is not negative.
=head2 is_integer
$is_an_integer = $thing->is_integer;
Expand Down

0 comments on commit 2ff82f7

Please sign in to comment.