Keyword.has_key-question-mark
You're seeing just the function
has_key-question-mark
, go back to Keyword module for more information.
Specs
Returns whether a given key
exists in the given keywords
.
Examples
iex> Keyword.has_key?([a: 1], :a)
true
iex> Keyword.has_key?([a: 1], :b)
false