Hierarchy

  • Char

Index

Methods

Static getUnicodeCategory

  • getUnicodeCategory(char: string, index?: number): number
  • Parameters

    • char: string
    • Default value index: number = 0

    Returns number

Static isControl

  • isControl(char: string, index?: number): boolean
  • Parameters

    • char: string
    • Default value index: number = 0

    Returns boolean

Static isDigit

  • isDigit(char: string | number, index?: number): boolean
  • Parameters

    • char: string | number
    • Default value index: number = 0

    Returns boolean

Static isLetter

  • isLetter(char: string, index?: number): boolean
  • Parameters

    • char: string
    • Default value index: number = 0

    Returns boolean

Static isLetterOrDigit

  • isLetterOrDigit(char: string, index?: number): boolean
  • Parameters

    • char: string
    • Default value index: number = 0

    Returns boolean

Static isLower

  • isLower(char: string, index?: number): boolean
  • Parameters

    • char: string
    • Default value index: number = 0

    Returns boolean

Static isUpper

  • isUpper(char: string, index?: number): boolean
  • Parameters

    • char: string
    • Default value index: number = 0

    Returns boolean

Static isWhitespace

  • isWhitespace(char: string, index?: number, allowNbsp?: boolean): boolean
  • Parameters

    • char: string
    • Default value index: number = 0
    • Default value allowNbsp: boolean = true

    Returns boolean

Static toLower

  • toLower(char: string): string
  • Parameters

    • char: string

    Returns string

Static toUpper

  • toUpper(char: string): string
  • Parameters

    • char: string

    Returns string

Generated using TypeDoc