Keyword.get/3
defmodule Keyword do
def get(keywords, key, default \\ nil)
end
Gets the value for a specific key
.
If duplicated entries exist, the first one is returned.
If key
does not exist, return the default
value (nil
if no default value).