R/utils.R
btm_var.Rd
Recursive function to get the last name in a list
btm_var(x, name = NULL)
a list
name of the top element of the list
The name of the deepest nested list element
btm_var(list(X = list(Y = list(K = 1)))) #> [1] "K"