mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +00:00
Fix documentation for toIterable
[ci skip]
This commit is contained in:
@@ -3041,8 +3041,8 @@
|
||||
* Converts `collection` to an array if it is not an array-like value.
|
||||
*
|
||||
* @private
|
||||
* @param {Array|Object|string} collection The collection to inspect.
|
||||
* @returns {Array|Object} Returns the iterable object.
|
||||
* @param {Array|Object|string} collection The collection to convert.
|
||||
* @returns {Array} Returns the iterable object.
|
||||
*/
|
||||
function toIterable(collection) {
|
||||
var length = collection ? collection.length : 0;
|
||||
|
||||
Reference in New Issue
Block a user