invalid: A notion of valid and invalid

Description Usage Arguments Value Functions

View source: R/logical.R

Description

An object is valid if it is not null, not missing (NA), and is not an empty vector. Note that this is per se not vectorised, because a non-empty list or vector is valid as such.

Usage

1
2
3
invalid(x)

valid(x)

Arguments

x

Any object, value or NULL

Value

logical

Functions


tidytidbits documentation built on March 8, 2021, 5:07 p.m.