Learn R Programming

shinyAce (version 0.4.3)

is.empty: Check if vector is empty

Description

Check if vector is empty

Usage

is.empty(x)

Arguments

x

vector

Examples

Run this code
is.empty(NULL)
is.empty(NA)
is.empty(c())
is.empty("")
is.empty(" ")
is.empty(c(" ", " "))
is.empty(list())
is.empty(list(a = "", b = ""))

Run the code above in your browser using DataLab