Learn R Programming

rlist (version 0.4.6.2)

is.empty: Check if an object is empty (has length 0)

Description

Check if an object is empty (has length 0)

Usage

is.empty(x)

Arguments

x

the object

Details

A NULL value, zero-length vector or list have length zero, which is called empty.