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

Provide a 'break to parts' function #83

Closed
DerekCresswell opened this issue Jul 17, 2020 · 0 comments · Fixed by #84
Closed

Provide a 'break to parts' function #83

DerekCresswell opened this issue Jul 17, 2020 · 0 comments · Fixed by #84

Comments

@DerekCresswell
Copy link

I find myself with the use case of needing to get the individual parts of an expression.

Using getExpression to get a single part is a little poor choice if you ask me (as it name doesn't immediately seem like you can get a part), but I won't complain.

I propose a simple function titled getParts or perhaps breakToParts which returns an array of all the individual parts. Happy to provide the PR if this would be accepted.

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

Successfully merging a pull request may close this issue.

1 participant