R/utils.R
if_null_then.Rd
Replace NULL
x %||% y
A value to check
A value to substitute if x is null
if (FALSE) { # \dontrun{ x <- NULL x <- x %||% "none" x <- x %||% NA } # }