Help for this page

Select Code to Download


  1. or download this
      if ( $obj == NaN or $obj ) # true if true or NaN
    
  2. or download this
      sub isTrue # !
      {
         my $obj = shift;
         $obj == NaN || $obj
      }