From 259909e7d3a1e6b2543005828b7ceea6fb07f326 Mon Sep 17 00:00:00 2001 From: stdlib-bot Date: Tue, 27 Sep 2022 18:51:30 +0000 Subject: [PATCH] Auto-generated commit --- .github/.keepalive | 1 - benchmark/benchmark.js | 4 ++-- lib/index.js | 4 ++-- 3 files changed, 4 insertions(+), 5 deletions(-) delete mode 100644 .github/.keepalive diff --git a/.github/.keepalive b/.github/.keepalive deleted file mode 100644 index 9a65c2f..0000000 --- a/.github/.keepalive +++ /dev/null @@ -1 +0,0 @@ -2022-09-01T00:41:50.860Z diff --git a/benchmark/benchmark.js b/benchmark/benchmark.js index 28fe40d..3e983f7 100644 --- a/benchmark/benchmark.js +++ b/benchmark/benchmark.js @@ -41,7 +41,7 @@ bench( pkg, function benchmark( b ) { obj = {}; obj[ key ] = i; bool = isMethodIn( obj, key ); - if ( !isBoolean( bool ) ) { + if ( typeof bool !== 'boolean' ) { b.fail( 'should return a boolean' ); } } @@ -65,7 +65,7 @@ bench( pkg+'::built-in', function benchmark( b ) { obj = {}; obj[ key ] = i; bool = ( key in obj ) && typeof obj[ key ] === 'function'; - if ( !isBoolean( bool ) ) { + if ( typeof bool !== 'boolean' ) { b.fail( 'should return a boolean' ); } } diff --git a/lib/index.js b/lib/index.js index 4c7b2d4..4f142c5 100644 --- a/lib/index.js +++ b/lib/index.js @@ -39,9 +39,9 @@ // MODULES // -var isMethodIn = require( './main.js' ); +var main = require( './main.js' ); // EXPORTS // -module.exports = isMethodIn; +module.exports = main;