Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Allow string-to-array conversion in _.toArray() #276
_.toArray('abc') today throws a TypeError. It would great if it instead returned ['a','b','c']. A simple str.split('') would do.
(I understand the line in the sand regarding string functions. But treating strings as collections is a nice-n-functional thing to allow.)