Checks whether the variable is NA
is_na(x)
x
(any) The object to test
TRUE if x is NA, FALSE otherwise
is_na(1) is_na("foo") is_na(NA) is_na(c(1, NA)) is_na(c(NA, NA))