Learn R Programming

qmrparser (version 0.1.6)

isDigit: Is it a digit?

Description

Checks whether a character is a digit: { 0 .. 9 }.

Usage

isDigit(ch)

Arguments

ch

character to be checked

Value

TRUE/FALSE, depending on the character being a digit.

Examples

Run this code
# NOT RUN {
isDigit('9')
isDigit('a')
# }

Run the code above in your browser using DataLab