Map.has_key-question-mark
You're seeing just the function
has_key-question-mark
, go back to Map module for more information.
Specs
Returns whether the given key
exists in the given map
.
Inlined by the compiler.
Examples
iex> Map.has_key?(%{a: 1}, :a)
true
iex> Map.has_key?(%{a: 1}, :b)
false