R/utilities.R
ifnull.Rd
Replaces the focal input with the alternative value if it is NULL.
NULL
ifnull(x = NULL, alt = NULL)
Focal input.
Alternative value.
x if not NULL, alt otherwise.
x
alt
ifnull(NULL, 123) ifnull(TRUE, 123) ifnull(FALSE, 123)