Skip to content

Commit 98df580

Browse files
committed
Auto-generated commit
1 parent 70f9eec commit 98df580

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

.github/.keepalive

Lines changed: 0 additions & 1 deletion
This file was deleted.

benchmark/benchmark.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function createBenchmark( len ) {
6161
// Note: we are testing the worst case scenario where a function must scan the entire array before finding a failing value.
6262
x[ len-1 ] = i * 3.14;
6363
bool = isUnityProbabilityArray( x );
64-
if ( !isBoolean( bool ) ) {
64+
if ( typeof bool !== 'boolean' ) {
6565
b.fail( 'should return a boolean' );
6666
}
6767
}

lib/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@
4141

4242
// MODULES //
4343

44-
var isUnityProbabilityArray = require( './main.js' );
44+
var main = require( './main.js' );
4545

4646

4747
// EXPORTS //
4848

49-
module.exports = isUnityProbabilityArray;
49+
module.exports = main;

0 commit comments

Comments
 (0)