diff --git a/README.md b/README.md index afdbcdb..6b9032b 100644 --- a/README.md +++ b/README.md @@ -163,7 +163,7 @@ API Tests if this Long's value is odd. * Long#**isPositive**(): `boolean`
- Tests if this Long's value is positive. + Tests if this Long's value is positive or zero. * Long#**isZero**/**eqz**(): `boolean`
Tests if this Long's value equals zero. diff --git a/index.d.ts b/index.d.ts index a94bb28..1f1fd03 100644 --- a/index.d.ts +++ b/index.d.ts @@ -210,7 +210,7 @@ declare class Long { isOdd(): boolean; /** - * Tests if this Long's value is positive. + * Tests if this Long's value is positive or zero. */ isPositive(): boolean; diff --git a/index.js b/index.js index c3b437e..2fd859b 100644 --- a/index.js +++ b/index.js @@ -599,7 +599,7 @@ LongPrototype.isNegative = function isNegative() { }; /** - * Tests if this Long's value is positive. + * Tests if this Long's value is positive or zero. * @this {!Long} * @returns {boolean} */