is_num: Is numeric check

View source: R/helpers.R

is_numR Documentation

Is numeric check

Description

This function checks if a variable is numeric, or could be considered one. For example, dates and times can be treated as numeric, so return TRUE.

Usage

is_num(x)

Arguments

x

the variable to check

Value

logical, TRUE if the variable is numeric

Author(s)

Tom Elliott


iNZightTools documentation built on Oct. 12, 2023, 5:06 p.m.