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

View source: R/00.helpers.R

is.null.naR Documentation

Function to check whether an object is NA or NULL

Description

Combines base::is.na(x), base::is.null(x). When negating is TRUE, it integrates also f(x)|> magrittr::not().

Usage

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

Arguments

x

Object on which to operate

negating

Whether to return the negation of the result

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.

Author(s)

Telarico, Fabio Ashtar


FinNet documentation built on Oct. 31, 2024, 5:07 p.m.