Learn R Programming

qmrparser (version 0.1.6)

isWhitespace: Is it a white space?

Description

Checks whether a character belongs to the set {blank, tabulator, new line, carriage return, page break }.

Usage

isWhitespace(ch)

Arguments

ch

character to be checked

Value

TRUE/FALSE, depending on character belonging to the specified set.

Examples

Run this code
# NOT RUN {
isWhitespace(' ')
isWhitespace('\n')
isWhitespace('a')
# }

Run the code above in your browser using DataLab