isPascalCase {FastUtils} | R Documentation |
Check if String is PascalCase
Description
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.
Usage
isPascalCase(x)
Arguments
x |
A character string to check. |
Value
TRUE if the string is PascalCase, FALSE otherwise.
Examples
isPascalCase("PascalCase") # returns TRUE
isPascalCase("pascalCase") # returns FALSE
isPascalCase("Pascalcase") # returns FALSE
[Package FastUtils version 0.1.1 Index]