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

There is no function that only returns the last node, nor the first #5

Open
autotel opened this issue Nov 22, 2017 · 0 comments
Open

Comments

@autotel
Copy link

autotel commented Nov 22, 2017

there are functions that returns node, that are useful for programmatic iteration (sometimes you need to follow a different order than the one of the iterator function). I tried to start from the last node and end in the first node and there was no other way than having a variable that stores the last pushed node. I think it'd make sense to have a function that gets the last node, so I could iterate from the back to the beginning.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant