This function checks if a string starts with a vowel.
Arguments
- x
A character string.
Value
TRUE if the string starts with a vowel, FALSE otherwise.
Examples
# Check if "apple" starts with a vowel
startsWithVowel("apple")
#> [1] TRUE
# Check if "banana" starts with a vowel
startsWithVowel("banana")
#> [1] FALSE