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 @@ -59,7 +59,7 @@ bench( pkg, function benchmark( b ) {
5959 b . tic ( ) ;
6060 for ( i = 0 ; i < b . iterations ; i ++ ) {
6161 bool = isComplex64Array ( values [ i % values . length ] ) ;
62- if ( ! isBoolean ( bool ) ) {
62+ if ( typeof bool !== 'boolean' ) {
6363 b . fail ( 'should return a boolean' ) ;
6464 }
6565 }
@@ -84,7 +84,7 @@ bench( pkg+'::true', function benchmark( b ) {
8484 b . tic ( ) ;
8585 for ( i = 0 ; i < b . iterations ; i ++ ) {
8686 bool = isComplex64Array ( values [ i % values . length ] ) ;
87- if ( ! isBoolean ( bool ) ) {
87+ if ( typeof bool !== 'boolean' ) {
8888 b . fail ( 'should return a boolean' ) ;
8989 }
9090 }
@@ -116,7 +116,7 @@ bench( pkg+'::false', function benchmark( b ) {
116116 b . tic ( ) ;
117117 for ( i = 0 ; i < b . iterations ; i ++ ) {
118118 bool = isComplex64Array ( values [ i % values . length ] ) ;
119- if ( ! isBoolean ( bool ) ) {
119+ if ( typeof bool !== 'boolean' ) {
120120 b . fail ( 'should return a boolean' ) ;
121121 }
122122 }
You can’t perform that action at this time.
0 commit comments