R/check-null.R
check_null.Rd
Checks object is NULL.
check_null(x, x_name = substitute(x))
The object to check.
A string of the name of the object.
Throws an informative error or returns NULL.