@yookue/ts-lang-utils
    Preparing search index...

    Function isPositive

    • Returns whether the given value is positive

      Parameters

      • Optionalvalue: number

        the number value to check

      Returns boolean

      whether the given value is positive

      David Hsing

      isPositive(1);    // true
      isPositive(0); // false
      isPositive(-1); // false