Returns the word either without change of folded to upper case depending on the second argument of class logical.

case(word, upper_case = TRUE)

Arguments

word

1 element character vector with the word

upper_case

a logical flag indicating whether or not the word is folded to upper case or not. Defaults to TRUE.