Returns a Stream that yields the elements of the Iterable parameter.
Type of items in the Stream.
Optional
Iterable to create the Stream from.
Stream that yields the elements of the Iterable.
const result = from('ABCD');console.log([...result]); // ['A', 'B', 'C', 'D'] Copy
const result = from('ABCD');console.log([...result]); // ['A', 'B', 'C', 'D']
Returns a Stream that yields the elements of the Iterable parameter.