check_not_null: Check Variable is not NULL

View source: R/input-check-helpers.R

check_not_nullR Documentation

Check Variable is not NULL

Description

Check whether a certain variable is not NULL and return the name of that variable and the function call where the variable is missing. This function is a helper function that should only be called within other functions

Usage

check_not_null(...)

Arguments

...

The variables to check

Value

The function returns NULL, but throws an error if the variable is missing.


scoringutils documentation built on Feb. 16, 2023, 7:30 p.m.