Skip to contents

Check if an object is not NULL

Usage

not_null(a)

Arguments

a

Object to check

Value

TRUE or FALSE

Examples

not_null(NULL)
#> [1] FALSE
not_null(1)
#> [1] TRUE