From 2f52dd88a9896622ac0c3e64f496e31a118a2ab6 Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 5 Jan 2015 14:08:36 -0800 Subject: [PATCH] Fix doc typo in `arrayEvery` and `baseEvery`. [ci skip] --- lodash.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lodash.js b/lodash.js index 8647b1429..4abd19b5a 100644 --- a/lodash.js +++ b/lodash.js @@ -331,7 +331,7 @@ * @private * @param {Array} array The array to iterate over. * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns `true` if all elements pass the predicate check, + * @returns {boolean} Returns `true` if all elements pass the predicate check, * else `false`. */ function arrayEvery(array, predicate) { @@ -1983,7 +1983,7 @@ * @private * @param {Array|Object|string} collection The collection to iterate over. * @param {Function} predicate The function invoked per iteration. - * @returns {Array} Returns `true` if all elements pass the predicate check, + * @returns {boolean} Returns `true` if all elements pass the predicate check, * else `false` */ function baseEvery(collection, predicate) {