Class ICU4XGeneralCategoryNameToMaskMapper

A type capable of looking up General Category mask values from a string name.

See the Rust documentation for name_to_enum_mapper for more information.

See the Rust documentation for PropertyValueNameToEnumMapper for more information.

Constructors

Methods

Constructors

Methods

  • Get the mask value matching the given name, using loose matching

    Returns 0 if the name is unknown for this property

    Parameters

    • name: string

    Returns number

  • Get the mask value matching the given name, using strict matching

    Returns 0 if the name is unknown for this property

    Parameters

    • name: string

    Returns number