Star
Docs/v5/merge()

merge()

Returns a new collection with the provided collections merged in.

A functional alternative to collection.merge() which will also work with plain Objects and Arrays

merge<C>(collection: C, ...collections: Array<Partial<C>>): C;