Skip to content

Commit de93d8f

Browse files
committed
chore: resolve lint errors and update examples
--- 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: na - task: lint_javascript_src status: passed - task: lint_javascript_cli status: na - task: lint_javascript_examples status: passed - 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 e6e4501 commit de93d8f

File tree

69 files changed

+79
-38
lines changed

Some content is hidden

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

69 files changed

+79
-38
lines changed

lib/node_modules/@stdlib/assert/is-booleanarray/README.md

Lines changed: 1 addition & 1 deletion

lib/node_modules/@stdlib/assert/is-booleanarray/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ bool = isBooleanArray( new Float32Array( 10 ) );
8080
console.log( bool );
8181
// => false
8282

83-
bool = isBooleanArray( new Array( 10 ) );
83+
bool = isBooleanArray( [] );
8484
console.log( bool );
8585
// => false
8686

lib/node_modules/@stdlib/assert/is-booleanarray/test/test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ tape( 'the function returns `false` if not provided a BooleanArray', function te
6363
[],
6464
{},
6565
function noop() {},
66-
new Array( 10 ),
6766
new Float64Array( 10 ),
6867
new Float32Array( 10 ),
6968
new Uint32Array( 10 ),

lib/node_modules/@stdlib/assert/is-complex128array/README.md

Lines changed: 1 addition & 1 deletion

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ import { Complex128Array } from '@stdlib/types/array';
2929
* @returns boolean indicating whether value is a Complex128Array
3030
*
3131
* @example
32+
* var Complex128Array = require( '@stdlib/array/complex128' );
33+
*
3234
* var bool = isComplex128Array( new Complex128Array( 10 ) );
3335
* // returns true
3436
*

lib/node_modules/@stdlib/assert/is-complex128array/examples/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ bool = isComplex128Array( new Float32Array( 10 ) );
7575
console.log( bool );
7676
// => false
7777

78-
bool = isComplex128Array( new Array( 10 ) );
78+
bool = isComplex128Array( [] );
7979
console.log( bool );
8080
// => false
8181

lib/node_modules/@stdlib/assert/is-complex128array/lib/index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* @module @stdlib/assert/is-complex128array
2525
*
2626
* @example
27+
* var Complex128Array = require( '@stdlib/array/complex128' );
2728
* var isComplex128Array = require( '@stdlib/assert/is-complex128array' );
2829
*
2930
* var bool = isComplex128Array( new Complex128Array( 10 ) );

lib/node_modules/@stdlib/assert/is-complex128array/lib/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ var constructorName = require( '@stdlib/utils/constructor-name' );
3333
* @returns {boolean} boolean indicating whether value is a Complex128Array
3434
*
3535
* @example
36+
* var Complex128Array = require( '@stdlib/array/complex128' );
37+
*
3638
* var bool = isComplex128Array( new Complex128Array( 10 ) );
3739
* // returns true
3840
*

lib/node_modules/@stdlib/assert/is-complex128array/test/test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,6 @@ tape( 'the function returns `false` if not provided a Complex128Array', function
6262
[],
6363
{},
6464
function noop() {},
65-
new Array( 10 ),
6665
new Float64Array( 10 ),
6766
new Float32Array( 10 ),
6867
new Uint32Array( 10 ),

lib/node_modules/@stdlib/assert/is-complex64array/README.md

Lines changed: 1 addition & 1 deletion

0 commit comments

Comments
 (0)