Remove references to _.

This commit is contained in:
John-David Dalton
2017-01-09 17:38:33 -08:00
parent 65654f8f9e
commit 77cc37ba49
410 changed files with 875 additions and 1157 deletions

View File

@@ -21,22 +21,21 @@ const symIterator = Symbol ? Symbol.iterator : undefined;
*
* @static
* @since 0.1.0
* @memberOf _
* @category Lang
* @param {*} value The value to convert.
* @returns {Array} Returns the converted array.
* @example
*
* _.toArray({ 'a': 1, 'b': 2 });
* toArray({ 'a': 1, 'b': 2 });
* // => [1, 2]
*
* _.toArray('abc');
* toArray('abc');
* // => ['a', 'b', 'c']
*
* _.toArray(1);
* toArray(1);
* // => []
*
* _.toArray(null);
* toArray(null);
* // => []
*/
function toArray(value) {