Keyword.delete_first

You're seeing just the function delete_first, go back to Keyword module for more information.
Link to this function

delete_first(keywords, key)

View Source

Specs

delete_first(t(), key()) :: t()

Deletes the first entry in the keyword list for a specific key.

If the key does not exist, returns the keyword list unchanged.

Examples

iex> Keyword.delete_first([a: 1, b: 2, a: 3], :a)
[b: 2, a: 3]
iex> Keyword.delete_first([b: 2], :a)
[b: 2]