the NamingCaseTuple consists of the following settable options, as an array:
0 or first_letter_upper: is the first letter an upper case letter?
1 = yes, -1 = no, 0 = impartial (in other words, it will depend-on/inherit word_first_letter_upper)
1 or word_first_letter_upper: is the first letter of each word an upper case letter?
1 = yes, -1 = no, 0 = preserve original
2 or rest_word_letters_upper: are the remaining letters in each word in upper case?
1 = yes, -1 = no, 0 = preserve original
3 or delimiter?: the separator between words
"" (default) indicates that there's no delimiter character. so we must rely on letter case change to detect word splitting. this is what is used for camelCase and PascalCase
the
NamingCaseTuple
consists of the following settable options, as an array:0
orfirst_letter_upper
: is the first letter an upper case letter?1
= yes,-1
= no,0
= impartial (in other words, it will depend-on/inheritword_first_letter_upper
)1
orword_first_letter_upper
: is the first letter of each word an upper case letter?1
= yes,-1
= no,0
= preserve original2
orrest_word_letters_upper
: are the remaining letters in each word in upper case?1
= yes,-1
= no,0
= preserve original3
ordelimiter
?: the separator between words""
(default) indicates that there's no delimiter character. so we must rely on letter case change to detect word splitting. this is what is used for camelCase and PascalCase"_"
delimiter is used by snake_case"-"
delimiter is used by kebab-casestring
define a custom delimiter string4
orprefix
?: is there a prefix string?5
orsuffix
?: is there a suffix string?