We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hey, great repo here! Thanks! I learnt a lot!
I landed here after searching for a comparison between:
is_list_member = Enum.member?(list, el) # vs is_in_list = el in list
Any chance you would add this idiom to the repo?
Cheers
The text was updated successfully, but these errors were encountered:
They should be exactly the same, left in right expands to an Enum.member? call, if right is not a list or range literal
left in right
Enum.member?
right
Sorry, something went wrong.
No branches or pull requests
Hey, great repo here! Thanks! I learnt a lot!
I landed here after searching for a comparison between:
Any chance you would add this idiom to the repo?
Cheers
The text was updated successfully, but these errors were encountered: