assert_bool | R Documentation |
assert_bool()
checks whether an object is (scalar) Boolean using
is_bool()
.
assert_bool(x, arg = NULL)
x |
An object to test |
arg |
Optional argument name to display in error messages. If not
provided, the input |
x
, invisibly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.