Class TitlecaseMapper

See the Rust documentation for TitlecaseMapper for more information.

Constructors

Accessors

  • get ffiValue(): number
  • Returns number

Methods

  • Returns the full titlecase mapping of the given string

    The v1 refers to the version of the options struct, which may change as we add more options

    See the Rust documentation for titlecase_segment for more information.

    Parameters

    • s: string
    • locale: Locale
    • options: TitlecaseOptions_obj

    Returns string

  • Returns the full titlecase mapping of the given string, using compiled data (avoids having to allocate a TitlecaseMapper object)

    The v1 refers to the version of the options struct, which may change as we add more options

    See the Rust documentation for titlecase_segment for more information.

    Parameters

    • s: string
    • locale: Locale
    • options: TitlecaseOptions_obj

    Returns string

""