is_na {msgr}R Documentation

Checks whether the variable is NA

Description

Checks whether the variable is NA

Usage

is_na(x)

Arguments

x

(any) The object to test

Value

TRUE if x is NA, FALSE otherwise

Examples

is_na(1)
is_na("foo")
is_na(NA)

is_na(c(1, NA))
is_na(c(NA, NA))


[Package msgr version 1.1.2 Index]