Files
tryno10/app/code/node_modules/collect.js/docs/api/unwrap.md
T
2022-04-07 18:09:31 +05:30

257 B

unwrap()

The unwrap method will unwrap the given collection:

const collection = collect([1, 2, 3]);

collect().unwrap(collection);

// [1, 2, 3]

View source on GitHub