Skip to content

Commit ff97e29

Browse files
committed
chore: update wording from non-negative to nonnegative
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: passed - task: lint_package_json status: na - task: lint_repl_help status: passed - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: passed - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent 1a0d851 commit ff97e29

File tree

11 files changed

+14
-14
lines changed

11 files changed

+14
-14
lines changed

lib/node_modules/@stdlib/_tools/eslint/rules/new-cap-error/test/fixtures/invalid.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ test = {
8383
'',
8484
'function sqrt( x ) {',
8585
' if ( x < 0 ) {',
86-
' throw TypeError( \'must provide a non-negative number\' );',
86+
' throw TypeError( \'must provide a nonnegative number\' );',
8787
' }',
8888
' return Math.sqrt( x );',
8989
'}'
@@ -99,7 +99,7 @@ test = {
9999
'',
100100
'function sqrt( x ) {',
101101
' if ( x < 0 ) {',
102-
' throw new TypeError( \'must provide a non-negative number\' );',
102+
' throw new TypeError( \'must provide a nonnegative number\' );',
103103
' }',
104104
' return Math.sqrt( x );',
105105
'}'

lib/node_modules/@stdlib/assert/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2643,7 +2643,7 @@ interface Namespace {
26432643
*
26442644
* - The function validates that a value is a string. For all other types, the function returns `false`.
26452645
*
2646-
* - A duration string is a string containing a sequence of time units. A time unit is a non-negative integer followed by a unit identifier. The following unit identifiers are supported:
2646+
* - A duration string is a string containing a sequence of time units. A time unit is a nonnegative integer followed by a unit identifier. The following unit identifiers are supported:
26472647
*
26482648
* - `d`: days
26492649
* - `h`: hours

lib/node_modules/@stdlib/assert/is-duration-string/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ bool = isDurationString( '1d2h' );
5252

5353
- The function validates that a `value` is a `string`. For all other types, the function returns `false`.
5454

55-
- A duration string is a string containing a sequence of time units. A time unit is a non-negative integer followed by a unit identifier. The following unit identifiers are supported:
55+
- A duration string is a string containing a sequence of time units. A time unit is a nonnegative integer followed by a unit identifier. The following unit identifiers are supported:
5656

5757
- `d`: days
5858
- `h`: hours

lib/node_modules/@stdlib/assert/is-duration-string/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
function returns `false`.
77

88
A duration string is a string containing a sequence of time units. A time
9-
unit is a non-negative integer followed by a unit identifier. The following
9+
unit is a nonnegative integer followed by a unit identifier. The following
1010
unit identifiers are supported:
1111

1212
- d: days.

lib/node_modules/@stdlib/assert/is-duration-string/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
*
2626
* - The function validates that a value is a string. For all other types, the function returns `false`.
2727
*
28-
* - A duration string is a string containing a sequence of time units. A time unit is a non-negative integer followed by a unit identifier. The following unit identifiers are supported:
28+
* - A duration string is a string containing a sequence of time units. A time unit is a nonnegative integer followed by a unit identifier. The following unit identifiers are supported:
2929
*
3030
* - `d`: days
3131
* - `h`: hours

lib/node_modules/@stdlib/assert/is-duration-string/lib/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var RE_DURATION_STRING = /^(?:\d+d)?(?:\d+h)?(?:\d+m)?(?:\d+s)?(?:\d+ms)?$/i;
3737
*
3838
* - The function validates that a value is a string. For all other types, the function returns `false`.
3939
*
40-
* - A duration string is a string containing a sequence of time units. A time unit is a non-negative integer followed by a unit identifier. The following unit identifiers are supported:
40+
* - A duration string is a string containing a sequence of time units. A time unit is a nonnegative integer followed by a unit identifier. The following unit identifiers are supported:
4141
*
4242
* - `d`: days
4343
* - `h`: hours

lib/node_modules/@stdlib/assert/is-property-key/test/test.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,14 +54,14 @@ tape( 'the function returns `true` if provided a symbol primitive', opts, functi
5454
t.end();
5555
});
5656

57-
tape( 'the function returns `true` if provided a non-negative integer primitive', function test( t ) {
57+
tape( 'the function returns `true` if provided a nonnegative integer primitive', function test( t ) {
5858
t.strictEqual( isPropertyKey( 0 ), true, 'returns true' );
5959
t.strictEqual( isPropertyKey( 1 ), true, 'returns true' );
6060
t.strictEqual( isPropertyKey( 139 ), true, 'returns true' );
6161
t.end();
6262
});
6363

64-
tape( 'the function returns `false` if not provided a string, symbol, or non-negative integer primitive', function test( t ) {
64+
tape( 'the function returns `false` if not provided a string, symbol, or nonnegative integer primitive', function test( t ) {
6565
var values;
6666
var i;
6767

@@ -77,7 +77,7 @@ tape( 'the function returns `false` if not provided a string, symbol, or non-neg
7777
[],
7878
function noop() {},
7979
new String( 'beep' ), // eslint-disable-line no-new-wrappers
80-
new Number( 1 ) // eslint-disable-line no-new-wrappers
80+
new Number( 1 )
8181
];
8282

8383
for ( i = 0; i < values.length; i++ ) {

lib/node_modules/@stdlib/stats/base/dists/chisquare/mgf/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ double out = stdlib_base_dists_chisquare_mgf( 0.4, 2.0 );
189189
The function accepts the following arguments:
190190

191191
- **t**: `[in] double` input value.
192-
- **k**: `[in] double` degrees of freedom (must be non-negative).
192+
- **k**: `[in] double` degrees of freedom (must be nonnegative).
193193

194194
```c
195195
double stdlib_base_dists_chisquare_mgf( const double t, const double k );

lib/node_modules/@stdlib/stats/base/dists/chisquare/mgf/src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Evaluates the moment-generating function (MGF) for a chi-squared distribution with degrees of freedom `k` at a value `t`.
2424
*
2525
* @param t input value
26-
* @param k degrees of freedom (must be non-negative)
26+
* @param k degrees of freedom (must be nonnegative)
2727
* @return evaluated MGF, or NaN if input is invalid
2828
*
2929
* @example

lib/node_modules/@stdlib/stats/chi2test/test/test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ tape( 'the function throws an error if the `x` argument is not a 2d array of arr
7474
}
7575
});
7676

77-
tape( 'the function throws an error if `x` does not only contain non-negative numbers', function test( t ) {
77+
tape( 'the function throws an error if `x` does not only contain nonnegative numbers', function test( t ) {
7878
var value = [
7979
[ -2, 4 ],
8080
[ 1, 3 ]

0 commit comments

Comments
 (0)