R/utils-infix-helpers.R

Defines functions `%||%` `%l0%`

`%l0%` <- function(x, y) if (length(x) == 0) y else x
`%||%` <- function(x, y) if (is.null(x)) y else x
hrbrmstr/ggchicklet documentation built on July 9, 2022, 2:45 p.m.