check-scalar-isFlag | R Documentation |
Does the input contain a boolean flag?
isFlag(x)
x |
Object. |
TRUE
on success;
FALSE
on failure, with cause set.
Updated 2019-08-10.
## TRUE ====
isFlag(TRUE)
isFlag(FALSE)
## FALSE ====
isFlag(c(TRUE, TRUE))
isFlag(1)
isFlag(NA)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.