Skip to contents

Opposite of is.na(). Check if entry is not NA

Usage

not.na(x)

Arguments

x

vector entry

Value

a boolean value to indicate if entry is NA

Examples

not.na(NA) # FALSE
#> [1] FALSE
not.na(NULL) # logical(0)
#> logical(0)
if(not.na(45)) message("something") # TRUE
#> something