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 bfd3498 commit 259909e
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 @@ -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' );
}
}
Expand All @@ -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' );
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@

// MODULES //

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


// EXPORTS //

module.exports = isMethodIn;
module.exports = main;

0 comments on commit 259909e

Please sign in to comment.