Replace if NULL
or not length
Details
A mostly copy of rlang
's %||%
except does not use rlang::is_null()
,
which, currently, calls the same primitive base::is.null function.
Note: %||%
is not exported in versions of R < 4.4.
Replace if NULL
or not length
A mostly copy of rlang
's %||%
except does not use rlang::is_null()
,
which, currently, calls the same primitive base::is.null function.
Note: %||%
is not exported in versions of R < 4.4.