Start the sequence. Can be used with an array or any iterable.
// Import me:import from from '@adamburgess/linq'// Arrays:from([1, 2, 3])// Objects that support the Iterable protocol:from(new Map())// Generators:from(function*() { yield 'generated values' }) Copy
// Import me:import from from '@adamburgess/linq'// Arrays:from([1, 2, 3])// Objects that support the Iterable protocol:from(new Map())// Generators:from(function*() { yield 'generated values' })
Start the sequence. Can be used with an array or any iterable.