-
Notifications
You must be signed in to change notification settings - Fork 24
Char Library
The Char object contains the following functions.
toNumber(s: string, index: number = 0): number
fromNumber(value: number): string
convertFromUtf32(utf32: number): string
convertToUtf32(s: string, index: number = 0): number
getNumericValue(s: string, index: number = 0): number
getUnicodeCategory(s: string, index: number = 0): string
isControl(s: string, index: number = 0): bool
isDigit(s: string, index: number = 0): bool
isHighSurrogate(s: string, index: number = 0): bool
isLetter(s: string, index: number = 0): bool
isLetterOrDigit(s: string, index: number = 0): bool
isLower(s: string, index: number = 0): bool
isLowSurrogate(s: string, index: number = 0): bool
isNumber(s: string, index: number = 0): bool
isPunctuation(s: string, index: number = 0): bool
isSeparator(s: string, index: number = 0): bool
isSurrogate(s: string, index: number = 0): bool
isSurrogatePair(s: string, index: number = 0): bool
isSymbol(s: string, index: number = 0): bool
isUpper(s: string, index: number = 0): bool
isWhiteSpace(s: string, index: number = 0): bool