R/utils.R
is_namedlist.Rd
Is Named List
is_namedlist(x)
The object to test.
A flag.
is_namedlist(1) #> [1] FALSE is_namedlist(list()) #> [1] TRUE is_namedlist(list(1)) #> [1] FALSE is_namedlist(list(x = 1)) #> [1] TRUE is_namedlist(list(x = list(y = 2))) #> [1] FALSE