nxt.capitalization

Undocumented in source.

Members

Functions

isCapitalized
bool isCapitalized(S s)

Check if s has proper noun capitalization.

isCapitalizedASCII
bool isCapitalizedASCII(char[] s)

Check if s starts with a capital letter followed by a lower letter.

isCapitalizedSimple
bool isCapitalizedSimple(S s)

Check if s starts with a capital letter followed by a lower letter.

isLowercased
bool isLowercased(S s)

Check if s lowercased, that is only contains lower-case characters.

isLowercasedASCII
bool isLowercasedASCII(char[] s)

Check if s is a lowercased ASCII string.

isProperNameCapitalized
bool isProperNameCapitalized(S s)

Return true if s has proper name capitalization, such as in "Africa" or "South Africa".

isUppercased
bool isUppercased(S s)

Check if s uppercased, that is only contains upper-case characters.

isUppercasedASCII
bool isUppercasedASCII(char[] s)

Check if s is an uppercased ASCII string.

Meta