Get the value of a list key, or the key of a list value.
get_key(x, l, invert = FALSE)
x
A key or value.
l
A named list.
invert
If TRUE, return the key associated with the given value.
TRUE