checkDigits: Check whether a string consists only from digits

Description Usage Arguments Value Examples

View source: R/readPar.R

Description

Check whether a string consists only from digits

Usage

1

Arguments

x

Input string

Value

True if the input string consists only from digits, False otherwise.

Examples

1
2
checkDigits('1111')
checkDigits('1111cccc')

dmattek/tca-package documentation built on Dec. 10, 2019, 4:10 p.m.