Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,6 +1,6 @@
import arrayEvery from './.internal/arrayEvery.js';
import baseEvery from './.internal/baseEvery.js';
import isIterateeCall from './.internal/isIterateeCall.js';
import arrayEvery from './.internal/arrayEvery.js'
import baseEvery from './.internal/baseEvery.js'
import isIterateeCall from './.internal/isIterateeCall.js'
/**
* Checks if `predicate` returns truthy for **all** elements of `collection`.
@@ -21,15 +21,15 @@ import isIterateeCall from './.internal/isIterateeCall.js';
* else `false`.
* @example
*
* every([true, 1, null, 'yes'], Boolean);
* every([true, 1, null, 'yes'], Boolean)
* // => false
*/
function every(collection, predicate, guard) {
const func = Array.isArray(collection) ? arrayEvery : baseEvery;
const func = Array.isArray(collection) ? arrayEvery : baseEvery
if (guard && isIterateeCall(collection, predicate, guard)) {
predicate = undefined;
predicate = undefined
}
return func(collection, predicate);
return func(collection, predicate)
}
export default every;
export default every