Learn R Programming

FinNet (version 0.1.2)

is.null.na: Function to check whether an object is NA or NULL

Description

Combines base::is.na, base::is.null

Usage

is.null.na(x, negating = FALSE)

Value

Logical, depending on negating:

  • if negating is FALSE, it returns TRUE if x is NA or NULL;

  • if negating is TRUE, it returns TRUE if x is neither NA nor NULL.

Arguments

x

Object on which to operate

negating

Whether to return the negation of the result

Author

Telarico, Fabio Ashtar