R/utils.R

Defines functions `%||%`

`%||%` <- function(l, r) {
  if (is.null(l)) r else l
}

Try the keypress package in your browser

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

keypress documentation built on May 28, 2026, 5:07 p.m.