Method
Take
func Take<T>(count: int) -> Iterable<T>
Declaring type: Operators
Module: System.Linq
Assembly: System.Runtime.dll
Extension from Operators.Take
Returns an iterable containing at most the requested number of leading elements.
Parameters
| Name | Type | Description |
|---|---|---|
self |
Iterable<T> | The source outcome or iterable on which the extension operates. |
count |
Int32 | The requested number of elements. |
Return value
Iterable<T>