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


iNZightVIT/iNZightTools documentation built on April 8, 2024, 10:25 a.m.