Skip to content

Commit 337b68d

Browse files
committed
chore: clean-up
--- 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: na - 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: na - 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 9227d0e commit 337b68d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+181
-126
lines changed

lib/node_modules/@stdlib/ndarray/base/any-by/docs/repl.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
Returns
3636
-------
3737
out: boolean
38-
Boolean indicating whether at least one element in an ndarray pass a
38+
Boolean indicating whether at least one element in an ndarray passes a
3939
test implemented by a predicate function.
4040

4141
Examples

lib/node_modules/@stdlib/ndarray/base/any-by/docs/types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ type Predicate<T, U, ThisArg> = Nullary<ThisArg> | Unary<T, ThisArg> | Binary<T,
7373
* @param arrays - array-like object containing an input ndarray
7474
* @param predicate - predicate function
7575
* @param thisArg - predicate function execution context
76-
* @returns boolean indicating whether at least one element pass a test
76+
* @returns boolean indicating whether at least one element passes a test
7777
*
7878
* @example
7979
* var Float64Array = require( '@stdlib/array/float64' );

lib/node_modules/@stdlib/ndarray/base/any-by/lib/0d.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
* };
6868
*
6969
* // Test elements:
70-
* var out = any0d( x, predicate );
70+
* var out = any0d( x, predicate, {} );
7171
* // returns true
7272
*/
7373
function any0d( x, predicate, thisArg ) {

lib/node_modules/@stdlib/ndarray/base/any-by/lib/0d_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* };
7171
*
7272
* // Test elements:
73-
* var out = any0d( x, predicate );
73+
* var out = any0d( x, predicate, {} );
7474
* // returns true
7575
*/
7676
function any0d( x, predicate, thisArg ) {

lib/node_modules/@stdlib/ndarray/base/any-by/lib/10d.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var take = require( '@stdlib/array/base/take-indexed' );
7777
* };
7878
*
7979
* // Test elements:
80-
* var out = any10d( x, predicate );
80+
* var out = any10d( x, predicate, {} );
8181
* // returns true
8282
*/
8383
function any10d( x, predicate, thisArg ) { // eslint-disable-line max-statements

lib/node_modules/@stdlib/ndarray/base/any-by/lib/10d_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var take = require( '@stdlib/array/base/take-indexed' );
8080
* };
8181
*
8282
* // Test elements:
83-
* var out = any10d( x, predicate );
83+
* var out = any10d( x, predicate, {} );
8484
* // returns true
8585
*/
8686
function any10d( x, predicate, thisArg ) { // eslint-disable-line max-statements

lib/node_modules/@stdlib/ndarray/base/any-by/lib/10d_blocked.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ var reverse = require( '@stdlib/array/base/reverse' );
7777
* };
7878
*
7979
* // Test elements:
80-
* var out = blockedany10d( x, predicate );
80+
* var out = blockedany10d( x, predicate, {} );
8181
* // returns true
8282
*/
8383
function blockedany10d( x, predicate, thisArg ) { // eslint-disable-line max-statements, max-lines-per-function

lib/node_modules/@stdlib/ndarray/base/any-by/lib/10d_blocked_accessors.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ var reverse = require( '@stdlib/array/base/reverse' );
8080
* };
8181
*
8282
* // Test elements:
83-
* var out = blockedany10d( x, predicate );
83+
* var out = blockedany10d( x, predicate, {} );
8484
* // returns true
8585
*/
8686
function blockedany10d( x, predicate, thisArg ) { // eslint-disable-line max-statements, max-lines-per-function

lib/node_modules/@stdlib/ndarray/base/any-by/lib/1d.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@
6767
* };
6868
*
6969
* // Test elements:
70-
* var out = any1d( x, predicate );
70+
* var out = any1d( x, predicate, {} );
7171
* // returns true
7272
*/
7373
function any1d( x, predicate, thisArg ) {

lib/node_modules/@stdlib/ndarray/base/any-by/lib/1d_accessors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
* };
7171
*
7272
* // Test elements:
73-
* var out = any1d( x, predicate );
73+
* var out = any1d( x, predicate, {} );
7474
* // returns true
7575
*/
7676
function any1d( x, predicate, thisArg ) {
@@ -98,7 +98,7 @@ function any1d( x, predicate, thisArg ) {
9898

9999
// Iterate over the ndarray dimensions...
100100
for ( i0 = 0; i0 < S0; i0++ ) {
101-
if ( predicate.call( thisArg, get( xbuf, ix ), [ i0 ], x.ref) ) {
101+
if ( predicate.call( thisArg, get( xbuf, ix ), [ i0 ], x.ref ) ) {
102102
return true;
103103
}
104104
ix += dx0;

0 commit comments

Comments
 (0)