is_nullish | R Documentation |
Sometimes useful to have flexible input to disable a feature that accepts NULL, NA, or F as meaning "no".
is_nullish(x, false = T, na = T, zero = T, null = T)
x |
Length 0 or 1 input |
false |
Whether False means "no" |
na |
Whether NA means "no" |
zero |
Whether 0 means "no" |
null |
Whether NULL means "no" |
Logical scalar
is_nullish(NULL)
is_nullish(NA)
is_nullish(F)
is_nullish(0)
is_nullish(NA, na = F)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.