Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KtIterable.takeLast(n) is missing #71

Closed
passsy opened this issue Jan 23, 2019 · 1 comment
Closed

KtIterable.takeLast(n) is missing #71

passsy opened this issue Jan 23, 2019 · 1 comment

Comments

@passsy
Copy link
Owner

passsy commented Jan 23, 2019

KtIterable.takeLast(n) is missing, analog to dropLast(n).
Also KtIterable.takeLastWhile is missing, analog to dropLastWhile(n)

@passsy
Copy link
Owner Author

passsy commented Feb 16, 2019

KtIterable.takeWhile(predicate) as well as KtList.takeLast(n) and KtList.takeLastWhile(predicate) have been added.
The *Last methods are only available to KtList because KtIterables may not have an end.

@passsy passsy closed this as completed Feb 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant