# is_numeric
is_numeric(list(x = 1))
is_numeric(1)
# is_nlist
is_nlist(1)
is_nlist(list(x = 1))
is_nlist(nlist(x = 1))
# is_nlists
is_nlists(nlist(x = 1))
is_nlists(nlists(nlist(x = 2), nlist(x = 3.5)))
Run the code above in your browser using DataLab