A.OrdMap.has_key-question-mark
You're seeing just the function
has_key-question-mark
, go back to A.OrdMap module for more information.
Specs
Returns whether the given key
exists in ord_map
.
Examples
iex> ord_map = A.OrdMap.new(a: "Ant", b: "Bat", c: "Cat")
iex> A.OrdMap.has_key?(ord_map, :a)
true
iex> A.OrdMap.has_key?(ord_map, :d)
false