Skip to content

Commit 372c8d9

Browse files
committed
Auto-generated commit
1 parent 0c670be commit 372c8d9

File tree

5 files changed

+18
-9
lines changed

5 files changed

+18
-9
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<details>
1414

15+
- [`52fdc1c`](https://github.com/stdlib-js/stdlib/commit/52fdc1c3fce187d4bac3f072f15156ea0ac90371) - **refactor:** consolidate into a single line _(by Athan Reines)_
1516
- [`32deb11`](https://github.com/stdlib-js/stdlib/commit/32deb11c6a2453748d8db9554b6bb3fdb73a077f) - **docs:** update related packages sections [(#3976)](https://github.com/stdlib-js/stdlib/pull/3976) _(by stdlib-bot)_
1617

1718
</details>
@@ -20,6 +21,18 @@
2021

2122
<!-- /.commits -->
2223

24+
<section class="contributors">
25+
26+
### Contributors
27+
28+
A total of 1 person contributed to this release. Thank you to this contributor:
29+
30+
- Athan Reines
31+
32+
</section>
33+
34+
<!-- /.contributors -->
35+
2336
</section>
2437

2538
<!-- /.release -->

dist/index.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/index.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/main.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ var hasSameValues = require( '@stdlib/array-base-assert-has-same-values' );
4848
* // returns false
4949
*/
5050
function isSameArray( v1, v2 ) {
51-
if ( isArray( v1 ) && isArray( v2 ) ) {
52-
return hasSameValues( v1, v2 );
53-
}
54-
return false;
51+
return ( isArray( v1 ) && isArray( v2 ) && hasSameValues( v1, v2 ) );
5552
}
5653

5754

0 commit comments

Comments
 (0)