is_TRUE {tester} | R Documentation |
If TRUE or FALSE
Description
is_TRUE
and is_true
tests if x is TRUE
is_FALSE
and is_false
tests if x is FALSE
true_or_false
returns whether the condition is
true or false
Arguments
x |
an R object |
Examples
is_true(TRUE)
is_true(FALSE)
is_false(TRUE)
is_false(FALSE)
true_or_false(TRUE)
true_or_false(FALSE)
is_true(1) # FLASE
is_false("FALSE") # FALSE
[Package tester version 0.2.0 Index]