File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ bench( pkg, function benchmark( b ) {
57
57
b . tic ( ) ;
58
58
for ( i = 0 ; i < b . iterations ; i ++ ) {
59
59
bool = isUint32Array ( values [ i % values . length ] ) ;
60
- if ( ! isBoolean ( bool ) ) {
60
+ if ( typeof bool !== 'boolean' ) {
61
61
b . fail ( 'should return a boolean' ) ;
62
62
}
63
63
}
@@ -82,7 +82,7 @@ bench( pkg+'::true', function benchmark( b ) {
82
82
b . tic ( ) ;
83
83
for ( i = 0 ; i < b . iterations ; i ++ ) {
84
84
bool = isUint32Array ( values [ i % values . length ] ) ;
85
- if ( ! isBoolean ( bool ) ) {
85
+ if ( typeof bool !== 'boolean' ) {
86
86
b . fail ( 'should return a boolean' ) ;
87
87
}
88
88
}
@@ -113,7 +113,7 @@ bench( pkg+'::false', function benchmark( b ) {
113
113
b . tic ( ) ;
114
114
for ( i = 0 ; i < b . iterations ; i ++ ) {
115
115
bool = isUint32Array ( values [ i % values . length ] ) ;
116
- if ( ! isBoolean ( bool ) ) {
116
+ if ( typeof bool !== 'boolean' ) {
117
117
b . fail ( 'should return a boolean' ) ;
118
118
}
119
119
}
You can’t perform that action at this time.
0 commit comments