Appearance
add()
The add method adds a single item to the collection.
collect([1, 2, 3, 4]).add(5); // [1, 2, 3, 4, 5]
View source on GitHub