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