isPascalCase {FastUtils} | R Documentation |
This function checks if a given string adheres to PascalCase naming conventions, starting with an uppercase letter followed by any combination of upper and lower case letters.
isPascalCase(x)
x |
A character string to check. |
TRUE if the string is PascalCase, FALSE otherwise.
isPascalCase("PascalCase") # returns TRUE
isPascalCase("pascalCase") # returns FALSE
isPascalCase("Pascalcase") # returns TRUE