Get Value or Default

get_val(x, key = NULL, ..., .invalids = c("null", "na"))

## Arguments

x a list, or environment, or just any R object the name to obtain from x. Default is NULL if the value is invalid, the default value to return what counts as invalid? Default is NULL and NA, represented by "null" and "na"