From 6c4a783f22f5d6e4e53fb984c88c4be15f0b49c5 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Tue, 27 Sep 2022 18:53:12 +0000 Subject: [PATCH] Auto-generated commit --- .github/.keepalive | 1 - benchmark/benchmark.js | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) delete mode 100644 .github/.keepalive diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index 46cbd76..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2022-09-01T00:39:13.545Z diff --git a/benchmark/benchmark.js b/benchmark/benchmark.js index 5659e7a..539f779 100644 --- a/benchmark/benchmark.js +++ b/benchmark/benchmark.js @@ -57,7 +57,7 @@ bench( pkg, function benchmark( b ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { bool = isUint32Array( values[ i%values.length ] ); - if ( !isBoolean( bool ) ) { + if ( typeof bool !== 'boolean' ) { b.fail( 'should return a boolean' ); } } @@ -82,7 +82,7 @@ bench( pkg+'::true', function benchmark( b ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { bool = isUint32Array( values[ i%values.length ] ); - if ( !isBoolean( bool ) ) { + if ( typeof bool !== 'boolean' ) { b.fail( 'should return a boolean' ); } } @@ -113,7 +113,7 @@ bench( pkg+'::false', function benchmark( b ) { b.tic(); for ( i = 0; i < b.iterations; i++ ) { bool = isUint32Array( values[ i%values.length ] ); - if ( !isBoolean( bool ) ) { + if ( typeof bool !== 'boolean' ) { b.fail( 'should return a boolean' ); } }