assertLogical {omopgenerics} | R Documentation |
Assert that an object is a logical.
Description
Assert that an object is a logical.
Usage
assertLogical(
x,
length = NULL,
na = FALSE,
null = FALSE,
named = FALSE,
call = parent.frame(),
msg = NULL
)
Arguments
x |
Variable to check. |
length |
Required length. If |
na |
Whether it can contain NA values. |
null |
Whether it can be NULL. |
named |
Whether it has to be named. |
call |
Call argument that will be passed to |
msg |
Custom error message. |
[Package omopgenerics version 0.4.1 Index]