isSomeTrue: Checks whether some object is TRUE

View source: R/0helpers.R

isSomeTrueR Documentation

Checks whether some object is TRUE

Description

Checks whether some object is TRUE

Usage

isSomeTrue(...)

Arguments

...

objects that need testing

Value

Returns TRUE if there's some object that's TRUE, FALSE when all objects are not TRUE

Examples

x <- 1
y <- "a"
z <- TRUE

isSomeTrue(x, y)
isSomeTrue(x, y, z)

AlexanderLyNL/bstats documentation built on Sept. 11, 2023, 4:10 p.m.