BiMap.member-question-mark
You're seeing just the function
member-question-mark
, go back to BiMap module for more information.
Specs
Convenience shortcut for member?/3
.
Specs
Checks if bimap
contains {key, value}
pair.
Examples
iex> bimap = BiMap.new([a: "foo", b: "bar"])
iex> BiMap.member?(bimap, :a, "foo")
true
iex> BiMap.member?(bimap, :a, "bar")
false