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

Adding a "this()" function? #180

Open
Eric24 opened this issue Feb 23, 2020 · 1 comment
Open

Adding a "this()" function? #180

Eric24 opened this issue Feb 23, 2020 · 1 comment

Comments

@Eric24
Copy link

Eric24 commented Feb 23, 2020

Any thoughts on adding a this function? Same logic as next and prev, but doesn't first move the "time pointer" forward or backward. I think it would be useful for getting the "first" interval after parseExpression, as well as possibly getting the "same" interval that was returned from the most recent next or prev.

PS - Maybe "this" isn't the best name for this function (although it is valid), so maybe "current" or something like that?

@harrisiirak
Copy link
Owner

@Eric24 yep, sounds like a good idea.

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

2 participants