is_legit: Is object legit?

View source: R/utils_conditionals.R

is_legitR Documentation

Is object legit?

Description

Is object non-null, non-empty, non-NA, and not a try-error?

Usage

is_legit(x, is.null = TRUE, is_empty = TRUE, is.na = TRUE, not_error = TRUE)

Arguments

x

(object) to check for legitimacy

is.null

lgl Check for non-null

is_empty

lgl Check for non-empty

is.na

lgl Check for non-NA

not_error

lgl Check for non-error

Value

(logical)

See Also

Other conditionals: is_error(), is_project(), larger(), most(), same(), zchar()


yogat3ch/UU documentation built on May 31, 2024, 10:14 p.m.