Skip to content

Commit

Permalink
Auto-generated commit
Browse files Browse the repository at this point in the history
  • Loading branch information
stdlib-bot committed Sep 27, 2022
1 parent a26f2c3 commit 2eced6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion .github/.keepalive

This file was deleted.

4 changes: 2 additions & 2 deletions benchmark/benchmark.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ bench( pkg, function benchmark( b ) {
b.tic();
for ( i = 0; i < b.iterations; i++ ) {
bool = iterEvery( arr );
if ( !isBoolean( bool ) ) {
if ( typeof bool !== 'boolean' ) {
b.fail( 'should return a boolean' );
}
arr.reset();
Expand Down Expand Up @@ -106,7 +106,7 @@ bench( pkg+'::loop', function benchmark( b ) {
break;
}
}
if ( !isBoolean( bool ) ) {
if ( typeof bool !== 'boolean' ) {
b.fail( 'should be a boolean' );
}
arr.reset();
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@

// MODULES //

var iterEvery = require( './main.js' );
var main = require( './main.js' );


// EXPORTS //

module.exports = iterEvery;
module.exports = main;

0 comments on commit 2eced6e

Please sign in to comment.