code: function toArray(collection) {
      if (isArray(collection)) {
        return slice(collection);
      }
      if (collection && typeof collection.length == 'number') {
        return map(collection);
      }
      return values(collection);
    }
docs: Converts the `collection` to an array.
  
  @static
  @memberOf _
  @category Collections
  @param {Array|Object|string} collection The collection to convert.
  @returns {Array} Returns the new converted array.
  @example
  
  (function() { return _.toArray(arguments).slice(1); })(1, 2, 3, 4);
  // => [2, 3, 4]