check_nan: Check to see if a value is NA, NULL, or ""

View source: R/check_nan.R

check_nanR Documentation

Check to see if a value is NA, NULL, or ""

Description

Check to see if a value is NA, NULL, or ""

Usage

check_nan(x)

Arguments

x

character. Expects length of 1 when not NULL (or NA).

Value

logical

Examples

check_nan(NaN)
check_nan(NA)
check_nan(NULL)
check_nan('')
check_nan('x')
check_nan(10)


PHSKC-APDE/rads documentation built on April 14, 2025, 10:47 a.m.