* Limits this stream to return at most `count` items. * * @param count The maximum number of items to provide from the stream. If * a negative or undefined value is given, the entire stream is returned * unaltered.
(count: number)
| 421 | * unaltered. |
| 422 | */ |
| 423 | take(count: number): LazyIterator<T> { |
| 424 | if (count < 0 || count == null) { |
| 425 | return this; |
| 426 | } |
| 427 | return new TakeIterator(this, count); |
| 428 | } |
| 429 | |
| 430 | /** |
| 431 | * Skips the first `count` items in this stream. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…