Function humanize

  • Convert dash format into human-readable format, and optionally capitalize it.

    Parameters

    • text: string

      String to convert.

    • Optional capital: boolean

      Mark to capitalize the result.

    Returns string

Generated using TypeDoc