dist/index.js
// Safely create a real, live array from anything iterable.
Safely create a real, live array from anything iterable.
Safely create a real live array from anything iterable .
function toArray(obj) {
    if (!obj) return [];
    if (isArray(obj)) return slice.call(obj);
    if (isString(obj)) {
      return obj.match(reStrSymbol);
    }
    if (isArrayLike(obj)) return map(obj, identity);
    return values(obj);
  }
function toArray ( obj ) { if ( ! obj ) return [ ] ; if ( isArray ( obj ) ) return slice . call ( obj ) ; if ( isString ( obj ) ) { return obj . match ( reStrSymbol ) ; } if ( isArrayLike ( obj ) ) return map ( obj , identity ) ; return values ( obj ) ; }
Safely create a real, live array from anything iterable.
Safely create a real live array from anything iterable .
// Keep surrogate pair characters together