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

Builtin to test element existence #398

Closed
xiaq opened this Issue Jul 7, 2017 · 0 comments

Comments

Projects
None yet
1 participant
@xiaq
Member

xiaq commented Jul 7, 2017

Like the in operator in Python.

@xiaq xiaq added this to the 0.10 milestone Jul 8, 2017

HeavyHorst added a commit to HeavyHorst/elvish that referenced this issue Jul 12, 2017

added a contains builtin to test the existence of an element.
This works with maps and every iterable type.

fixes elves#407 elves#398

HeavyHorst added a commit to HeavyHorst/elvish that referenced this issue Jul 12, 2017

HeavyHorst added a commit to HeavyHorst/elvish that referenced this issue Jul 13, 2017

xiaq added a commit that referenced this issue Jul 13, 2017

@xiaq xiaq closed this Jul 13, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment