Function: toArray()
toArray<
T>(…sources): readonlyT[]
Materializes the concatenated sources into a new array. Consumes single-pass sources.
Type Parameters
Section titled “Type Parameters”T
Parameters
Section titled “Parameters”sources
Section titled “sources”…readonly Source<T>[]
Containers to concatenate (nullish sources are skipped).
Returns
Section titled “Returns”readonly T[]