R/vctrs.R
empty.Rd
Is Vector Empty?
empty(x)
vector
<logical>
empty(character(0)) #> [1] TRUE empty(c()) #> [1] TRUE empty(NULL) #> [1] TRUE empty(NA) #> [1] FALSE empty(list()) #> [1] TRUE empty(list(character(0))) #> [1] FALSE empty(list(x = character(0))) #> [1] FALSE