Internal
Create a new generator that yields the first n elements of the input iterable.
n
The element type of the input iterable
The input iterable
The number of elements to take
A new generator with the first n elements of the input iterable.
Generated using TypeDoc
Create a new generator that yields the first
n
elements of the input iterable.