R/utils.r

"%||%" <- function(a, b) if (is.null(a)) b else a

Try the assertthat package in your browser

Any scripts or data that you put into this service are public.

assertthat documentation built on May 1, 2019, 10:25 p.m.