Enum.member-question-mark
You're seeing just the function
member-question-mark, go back to Enum module for more information.
Specs
Checks if element exists within the enumerable.
Membership is tested with the match (===/2) operator.
Examples
iex> Enum.member?(1..10, 5)
true
iex> Enum.member?(1..10, 5.0)
false
iex> Enum.member?([1.0, 2.0, 3.0], 2)
false
iex> Enum.member?([1.0, 2.0, 3.0], 2.000)
true
iex> Enum.member?([:a, :b, :c], :d)
falseWhen called outside guards, the in and not in
operators work by using this function.