Skip to content

Commit 6c4a783

Browse files
committed
Auto-generated commit
1 parent fd09da3 commit 6c4a783

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/.keepalive

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

benchmark/benchmark.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ bench( pkg, function benchmark( b ) {
5757
b.tic();
5858
for ( i = 0; i < b.iterations; i++ ) {
5959
bool = isUint32Array( values[ i%values.length ] );
60-
if ( !isBoolean( bool ) ) {
60+
if ( typeof bool !== 'boolean' ) {
6161
b.fail( 'should return a boolean' );
6262
}
6363
}
@@ -82,7 +82,7 @@ bench( pkg+'::true', function benchmark( b ) {
8282
b.tic();
8383
for ( i = 0; i < b.iterations; i++ ) {
8484
bool = isUint32Array( values[ i%values.length ] );
85-
if ( !isBoolean( bool ) ) {
85+
if ( typeof bool !== 'boolean' ) {
8686
b.fail( 'should return a boolean' );
8787
}
8888
}
@@ -113,7 +113,7 @@ bench( pkg+'::false', function benchmark( b ) {
113113
b.tic();
114114
for ( i = 0; i < b.iterations; i++ ) {
115115
bool = isUint32Array( values[ i%values.length ] );
116-
if ( !isBoolean( bool ) ) {
116+
if ( typeof bool !== 'boolean' ) {
117117
b.fail( 'should return a boolean' );
118118
}
119119
}

0 commit comments

Comments
 (0)