is.nr: 'NULL' and 'NA' 'proof' checking of whether something is a...

View source: R/is.nr.R

is.nrR Documentation

NULL and NA 'proof' checking of whether something is a number

Description

Convenience function that returns TRUE if the argument is not null, not NA, and is.numeric.

Usage

is.nr(x)

Arguments

x

The value or vector to check.

Value

TRUE or FALSE.

Examples

is.nr(8);    ### Returns TRUE
is.nr(NULL); ### Returns FALSE
is.nr(NA);   ### Returns FALSE


ufs documentation built on Aug. 8, 2025, 7:38 p.m.

Related to is.nr in ufs...