powered by
Test if any number of inputs are TRUE or FALSE. Inputs are passed to isTRUE or isFALSE.
are_true(..., .all = FALSE)are_false(..., .all = FALSE)
are_false(..., .all = FALSE)
Named logical, or unnamed boolean if .all is TRUE.
.all
TRUE
Objects to be tested.
Whether to return if all arguments are TRUE.
isTRUE isFALSE
x <- TRUE y <- 1 z <- mean are_true(x, y, z, TRUE, 0) are_true(x, y, z, TRUE, 0, .all = TRUE) are_false(x, y, z, TRUE, 0) are_false(x, y, z, TRUE, 0, .all = TRUE)
Run the code above in your browser using DataLab