is.nr {ufs} | R Documentation |
NULL
and NA
'proof' checking of whether something is a numberConvenience function that returns TRUE if the argument is not null, not NA, and is.numeric.
is.nr(x)
x |
The value or vector to check. |
TRUE or FALSE.
is.nr(8); ### Returns TRUE is.nr(NULL); ### Returns FALSE is.nr(NA); ### Returns FALSE