
Last chance! 50% off unlimited learning
Sale ends in
Checks if NULL or passes test.
chk_null_or(x, chk, ..., vld, x_name = NULL)
An informative error if the test fails.
chk_null_or(NULL, chk_number)
chk_null_or(1, chk_number)
try(chk_null_or("1", chk_number))
Run the code above in your browser using DataLab