isCamelCase {FastUtils}R Documentation

Check if String is camelCase

Description

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.

Usage

isCamelCase(x)

Arguments

x

A character string to check.

Value

TRUE if the string is camelCase, FALSE otherwise.

Examples

isCamelCase("camelCase")   # returns TRUE
isCamelCase("CamelCase")   # returns FALSE
isCamelCase("camelcase")   # returns TRUE


[Package FastUtils version 0.1.1 Index]