returns a vector of logical as long as x holding TRUE at indices where the list element at the same indices are named and FALSE at positions where the list element at the same indices are not named.
is.unnamed(x)
x | list |
---|
vector of logical
is.unnamed(list(1, b = 2)) # TRUE FALSE#> [1] TRUE FALSEis.unnamed(list(a = 1, 2)) # FALSE TRUE#> [1] FALSE TRUEis.unnamed(list()) # logical(0)#> logical(0)is.unnamed(list(a = 1, 2, c = 3)) # FALSE TRUE FALSE#> [1] FALSE TRUE FALSE