not.null: Not NULL

View source: R/not.null.R

not.nullR Documentation

Not NULL

Description

Opposite of is.null(). Check if entry is not NULL

Usage

not.null(x)

Arguments

x

vector entry

Value

a boolean value to indicate if entry is NULL

Examples

is.null("") # FALSE
not.null("") # TRUE
not.null(NULL) # FALSE
if(not.null(45)) message("something") # yes


quickcode documentation built on April 11, 2025, 5:49 p.m.