Skip to content

Char Library

Rohan Singh edited this page Feb 26, 2015 · 2 revisions

Exports

Char

The Char object contains the following functions.

toNumber

toNumber(s: string, index: number = 0): number

fromNumber

fromNumber(value: number): string

convertFromUtf32

convertFromUtf32(utf32: number): string

convertToUtf32

convertToUtf32(s: string, index: number = 0): number

getNumericValue

getNumericValue(s: string, index: number = 0): number

getUnicodeCategory

getUnicodeCategory(s: string, index: number = 0): string

isControl

isControl(s: string, index: number = 0): bool

isDigit

isDigit(s: string, index: number = 0): bool

isHighSurrogate

isHighSurrogate(s: string, index: number = 0): bool

isLetter

isLetter(s: string, index: number = 0): bool

isLetterOrDigit

isLetterOrDigit(s: string, index: number = 0): bool

isLower

isLower(s: string, index: number = 0): bool

isLowSurrogate

isLowSurrogate(s: string, index: number = 0): bool

isNumber

isNumber(s: string, index: number = 0): bool

isPunctuation

isPunctuation(s: string, index: number = 0): bool

isSeparator

isSeparator(s: string, index: number = 0): bool

isSurrogate

isSurrogate(s: string, index: number = 0): bool

isSurrogatePair

isSurrogatePair(s: string, index: number = 0): bool

isSymbol

isSymbol(s: string, index: number = 0): bool

isUpper

isUpper(s: string, index: number = 0): bool

isWhiteSpace

isWhiteSpace(s: string, index: number = 0): bool

Clone this wiki locally