is.boolean {GROAN} | R Documentation |
Is a boolean?
Description
Returns TRUE if the passed x variable is a length one variable
containing a valid TRUE/FALSE value. This test is stricter than
function is.logical
, since NA, NULL and NaN all return FALSE.
Moreover, only single cell (length one) array admitted.
Usage
is.boolean(x)
Arguments
x |
the variable to be checked |
Value
a boolean
[Package GROAN version 1.3.1 Index]