Search
A subset of Elixir Keyword functions slightly modified to support both atom and string keys.
Keyword
@type key() :: atom() | String.t()
@type t() :: [{key(), value()}]
@type value() :: any()
@spec delete(t(), key()) :: t()
@spec keylist?(term()) :: boolean()
@spec merge(t(), t(), (key(), value(), value() -> value())) :: t()
@spec reject(t(), ({key(), value()} -> as_boolean(term()))) :: t()