Skip to content

iter::take ​

take(items, count: Integer) ​

ParameterTypeDescription
itemsIterableAll items
countIntegerThe amount of items to take from the left

Returns ​

(Generator) A generator for the specified amount of items.