numbers_only: Detects whether a string contains only numbers or not.

View source: R/utils.R

numbers_onlyR Documentation

Detects whether a string contains only numbers or not.

Description

Detects whether a string contains only numbers or not.

Usage

numbers_only(x)

Arguments

x

A string of numbers

Value

TRUE if the string only contains numbers, FALSE otherwise


cleanepi documentation built on June 22, 2024, 9:48 a.m.