Skip to contents

This function checks if a character is a vowel.

Usage

isVowel(x)

Arguments

x

A character.

Value

TRUE if the character is a vowel, FALSE otherwise.

Examples

# Check if 'a' is a vowel
isVowel("a")
#> [1] TRUE
# Check if 'b' is a vowel
isVowel("b")
#> [1] FALSE