-
Notifications
You must be signed in to change notification settings - Fork 97
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
feature request: the "in" operator #7
Comments
+1 |
1 similar comment
+1 |
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Just a suggestion, because I feel the "in" operator would be useful in several contexts.
A possible syntax could be as follows:
locations[?state in ['WA', 'CA', 'NY']].name
However, the filter might be exposed as a simpler function as follows:
locations[?in(state, ['WA', 'CA', 'NY'])].name
Excellent work, though!
The text was updated successfully, but these errors were encountered: