A ‘usethis’-esque Package for Base R Versions of ‘tidyverse’ Code
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.

7 lines
196 B

is_even <- function(x) x %% 2 == 0
is_odd <- function(x) x %% 2 != 0
is_empty <- function(x) length(x) == 0
is_true <- function(x) identical(x, TRUE)
is_false <- function(x) identical(x, FALSE)