No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

utils-infix-helpers.R 224B

1234
  1. `%l0%` <- function(x, y) if (length(x) == 0) y else x
  2. `%||%` <- function(x, y) if (is.null(x)) y else x
  3. `%@%` <- function(x, name) attr(x, name, exact = TRUE)
  4. `%nin%` <- function(x, table) match(x, table, nomatch = 0) == 0