Creates a new Enumerable from the input Iterable.
const numbers = [1, 2, 3, 4];const enumerable = from(numbers);
TSource The type of the Iterable.
A new Enumerable.
The Iterable to create an Enumerable from.
Generated using TypeDoc
Creates a new Enumerable from the input Iterable.
Example
Typeparam
TSource The type of the Iterable.
Returns
A new Enumerable.