Learn R Programming

dwapi (version 0.1.3.1)

is.blank: Determine if a value has NA or zero-length character elements, or is NULL

Description

Determine if a value has NA or zero-length character elements, or is NULL

Usage

is.blank(value)

Arguments

value

the value to test

Value

a boolean vector of the same length as value, whose elements are TRUE if the corresponding element in value is NA or zero-length character, and FALSE otherwise. If value is NULL, then a singleton TRUE vector is returned.