check_null: Check NULL

Description Usage Arguments Value

View source: R/check-null.R

Description

Checks object is NULL.

Usage

1
check_null(x, x_name = substitute(x))

Arguments

x

The object to check.

x_name

A string of the name of the object.

Value

Throws an informative error or returns NULL.


poissonconsulting/deckr documentation built on March 18, 2021, 10:37 a.m.