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

    Function isNotNegative

    • Returns whether the given value is not negative

      Parameters

      • Optionalvalue: number

        the number value to check

      Returns boolean

      whether the given value is not negative

      David Hsing

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