Learn R Programming

comFuncs (version 0.0.6)

is_empty: Check if a variable is na or null or space

Description

check if string or list is empty (na, null or blank spaces).

Usage

is_empty(x)

Value

true or false

Arguments

x

a list or string

Author

Hanming Tu

Examples

Run this code
  is_empty(NULL);
  is_empty('');
  is_empty(NA);

Run the code above in your browser using DataLab