Keyword.get_values
You're seeing just the function
get_values
, go back to Keyword module for more information.
Specs
Gets all values for a specific key
.
Examples
iex> Keyword.get_values([], :a)
[]
iex> Keyword.get_values([a: 1], :a)
[1]
iex> Keyword.get_values([a: 1, a: 2], :a)
[1, 2]