Learn R Programming

BALCONY (version 0.2.10)

is_upper: Check if the letter is uppercase.

Description

This function facilitates the detection of uppercase strings/characters.

Usage

is_upper(string)

Arguments

string

A string or character

Value

A logical value indicating if the string/character is an uppercase one

Details

All letters of a string must be uppercase for the string to be identified as an uppercase one

Examples

Run this code
# NOT RUN {
string = "ABCD"
is_upper(string)
# }

Run the code above in your browser using DataLab