Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 61d9515

Browse filesBrowse files
committed
Auto-generated commit
1 parent a915544 commit 61d9515
Copy full SHA for 61d9515

File tree

3 files changed

+4
-5
lines changed
Filter options

3 files changed

+4
-5
lines changed

‎.github/.keepalive

Copy file name to clipboardExpand all lines: .github/.keepalive
-1Lines changed: 0 additions & 1 deletion
This file was deleted.

‎benchmark/benchmark.js

Copy file name to clipboardExpand all lines: benchmark/benchmark.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ bench( pkg, function benchmark( b ) {
7070
b.tic();
7171
for ( i = 0; i < b.iterations; i++ ) {
7272
bool = isTypedArray( values[ i%values.length ] );
73-
if ( !isBoolean( bool ) ) {
73+
if ( typeof bool !== 'boolean' ) {
7474
b.fail( 'should return a boolean' );
7575
}
7676
}
@@ -102,7 +102,7 @@ bench( pkg+'::true', function benchmark( b ) {
102102
b.tic();
103103
for ( i = 0; i < b.iterations; i++ ) {
104104
bool = isTypedArray( values[ i%values.length ] );
105-
if ( !isBoolean( bool ) ) {
105+
if ( typeof bool !== 'boolean' ) {
106106
b.fail( 'should return a boolean' );
107107
}
108108
}

‎lib/index.js

Copy file name to clipboardExpand all lines: lib/index.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@
3333

3434
// MODULES //
3535

36-
var isTypedArray = require( './main.js' );
36+
var main = require( './main.js' );
3737

3838

3939
// EXPORTS //
4040

41-
module.exports = isTypedArray;
41+
module.exports = main;

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.