Keyword.take/2
defmodule Keyword do
def take(keywords, keys)
end
Takes all entries corresponding to the given keys and returns them in a new keyword list.
Duplicated keys are preserved in the new keyword list.
defmodule Keyword do
def take(keywords, keys)
end
Takes all entries corresponding to the given keys and returns them in a new keyword list.
Duplicated keys are preserved in the new keyword list.