• Returns whether the given value is not positive

    Parameters

    • Optionalvalue: number

      the number value to check

    Returns boolean

    whether the given value is not positive

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