8000 Auto-generated commit · stdlib-js/utils-some@d343467 · GitHub
[go: up one dir, main page]

Skip to content

Commit d343467

Browse files
committed
Auto-generated commit
1 parent 65615f8 commit d343467

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

.github/.keepalive

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2022-09-01T01:08:39.688Z
1+
2022-10-01T01:33:27.924Z

benchmark/benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ bench( pkg, function benchmark( b ) {
3737
for ( i = 0; i < b.iterations; i++ ) {
3838
arr = [ 0, 0, i+1, i+2, i+3, i+4 ];
3939
bool = some( arr, 4 );
40-
if ( !isBoolean( bool ) ) {
40+
if ( typeof bool !== 'boolean' ) {
4141
b.fail( 'should return a boolean' );
4242
}
4343
}
@@ -73,8 +73,8 @@ bench( pkg+'::loop', function benchmark( b ) {
7373
}
7474
}
7575
}
76-
if ( !isBoolean( bool ) ) {
77-
b.fail( 'should be a boolean' );
76+
if ( typeof bool !== 'boolean' ) {
77+
b.fail( 'should return a boolean' );
7878
}
7979
}
8080
b.toc();

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@
3434

3535
// MODULES //
3636

37-
var some = require( './main.js' );
37+
var main = require( './main.js' );
3838

3939

4040
// EXPORTS //
4141

42-
module.exports = some;
42+
module.exports = main;

0 commit comments

Comments
 (0)
0