Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CharClassIndicator

Lets you determine if a character or codepoint is part of some Unicode character grouping.

Hierarchy

  • CharClassIndicator

Implemented by

Index

Methods

Methods

char

  • char(str: string): boolean
  • Checks if a character is in a Unicode group.

    Parameters

    • str: string

      A string representing a character.

    Returns boolean

code

  • code(char: number): boolean
  • Checks if the codepoint is part of the Unicode group.

    Parameters

    • char: number

      The codepoint.

    Returns boolean

Generated using TypeDoc