Const
Returns a collector that returns the nth entry from the Iterable.
Type of items in the source.
Index of the entry to return.
Collector that returns the nth entry from the Iterable.
const result = elementAtAsync(2)([1, 2, 3]);console.log(result); // 3 Copy
const result = elementAtAsync(2)([1, 2, 3]);console.log(result); // 3
Returns a collector that returns the nth entry from the Iterable.