Function formatString

  • Formats a string based on the specified options. Use a custom callback if necessary.

    Parameters

    • Optional str: string

      The string to format.

    • Optional options: FormatStringOptions

      The options to use when formatting the string.

    Returns string

    The formatted string.

Generated using TypeDoc