Files
Speedtest-Tracker/conf/site/node_modules/collect.js/docs/api/all.md
Henry Whitaker ea5808047f Tweaked gitignore
gitignore removed all composer and npm files, so automated builds would fail
2020-04-12 21:24:03 +01:00

375 B

all()

The all method returns the underlying array or object represented by the collection:

collect([1, 2, 3]).all();

// [1, 2, 3]
collect({
  firstname: 'Sadio',
  lastname: 'Mané',
}).all();

// {
//   firstname: 'Sadio',
//   lastname: 'Mané',
// }

View source on GitHub