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

View source: R/is_empty.R

is_emptyR Documentation

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)

Arguments

x

a list or string

Value

true or false

Author(s)

Hanming Tu

Examples

  is_empty(NULL);
  is_empty('');
  is_empty(NA);

TuCai/comFuncs documentation built on Aug. 30, 2022, 5:45 p.m.