diff --git a/head.js b/head.js index c83e31588..a9df4111f 100644 --- a/head.js +++ b/head.js @@ -16,7 +16,9 @@ * // => undefined */ function head(array) { - return (array != null && array.length) ? array[0] : undefined + return (array != null && array.length) + ? array[0] + : undefined } export default head diff --git a/uniq.js b/uniq.js index 6de091b4b..68be2d0fd 100644 --- a/uniq.js +++ b/uniq.js @@ -18,7 +18,9 @@ import baseUniq from './.internal/baseUniq.js' * // => [2, 1] */ function uniq(array) { - return (array != null && array.length) ? baseUniq(array) : [] + return (array != null && array.length) + ? baseUniq(array) + : [] } export default uniq diff --git a/uniqBy.js b/uniqBy.js index b83f9b2b9..dc24a7ce3 100644 --- a/uniqBy.js +++ b/uniqBy.js @@ -19,7 +19,9 @@ import baseUniq from './.internal/baseUniq.js' * // => [2.1, 1.2] */ function uniqBy(array, iteratee) { - return (array != null && array.length) ? baseUniq(array, iteratee) : [] + return (array != null && array.length) + ? baseUniq(array, iteratee) + : [] } export default uniqBy diff --git a/uniqWith.js b/uniqWith.js index e7f97ddc3..11e3f059f 100644 --- a/uniqWith.js +++ b/uniqWith.js @@ -21,7 +21,9 @@ import baseUniq from './.internal/baseUniq.js' */ function uniqWith(array, comparator) { comparator = typeof comparator == 'function' ? comparator : undefined - return (array != null && array.length) ? baseUniq(array, undefined, comparator) : [] + return (array != null && array.length) + ? baseUniq(array, undefined, comparator) + : [] } export default uniqWith