Is vector empty or all NA values.

isEmpty(x)

Arguments

x

vector of any type.

Value

TRUE if x is a zero-length vector else FALSE.