is_numeric: Check if a String Represents a Numeric Value

View source: R/common.R

is_numericR Documentation

Check if a String Represents a Numeric Value

Description

Verifies if a string can be converted to a numeric value.

Usage

is_numeric(str)

Arguments

str

character A string to check.

Value

logical TRUE if the string is numeric, FALSE otherwise.


moodef documentation built on April 12, 2025, 1:42 a.m.