In operator Mar 5, 2016 The in operator tests for membership using === within an enumerable. true = "one" in ["one", "two"] # `in` is equivalent to calling Enum.member?/2 Enum.member?(["one", "two"], "one") true = {:a, 1} in %{a: 1, b: 2} true = 1 in 1..4