Options
All
  • Public
  • Public/Protected
  • All
Menu

External module char-info/unicode

Unicode character indicators.

Index

Variables

Const uniIsDecimal

uniIsDecimal: CharClassIndicator = uniInCategory(UnicodeCategory.NumberDecimalDigit)

Indicator for Unicode decimal digit characters.

Const uniIsLetter

uniIsLetter: CharClassIndicator = uniInCategory(UnicodeCategory.Letter)

Indicator for Unicode letters.

Const uniIsLower

uniIsLower: CharClassIndicator = uniInCategory(UnicodeCategory.LetterLowercase)

Indicator for Unicode lowercase letters.

Const uniIsNewline

uniIsNewline: CharClassIndicator = uniInCategory(UnicodeCategory.Custom_SeparatorVertical)

Indicator for Unicode vertical separators.

Const uniIsSpace

uniIsSpace: CharClassIndicator = uniInCategory(UnicodeCategory.SeparatorSpace)

Indicator for Unicode inline spaces.

Const uniIsUpper

uniIsUpper: CharClassIndicator = uniInCategory(UnicodeCategory.LetterUppercase)

Indicator for Unicode uppercase letters.

Functions

homogenizeInputStr

  • homogenizeInputStr(str: string): string
  • Parameters

    • str: string

    Returns string

uniInBlock

  • Returns an indicator for characters belonging to the Unicode block, block.

    Parameters

    • block: string

    Returns BasicCharClassIndicator

uniInCategory

  • Returns an indicator for characters belonging to the Unicode category, category.

    Parameters

    • category: string

      The category to test for.

    Returns CharClassIndicator

uniInScript

  • Returns an indicator for characters belonging to a Unicode script, script.

    Parameters

    • script: string

    Returns BasicCharClassIndicator

Object literals

Const uniGetBlock

uniGetBlock: object

Returns the Unicode block for a character or code.

char

code

Const uniGetCategories

uniGetCategories: object

Returns the Unicode categories for a character or code.

char

code

Const uniGetScripts

uniGetScripts: object

Returns the Unicode scripts for a character or code.

char

code

Generated using TypeDoc