Function getBar

  • Returns a progress bar based on the percentage provided.

    Parameters

    • progress: number

      The percentage of the bar to be filled.

    Returns string

    The progress bar.

    Example

    // 🔘▬▬▬▬▬▬▬▬▬
    getBar(0)

    Example

    // ▬▬▬▬▬▬🔘▬▬▬
    getBar(60)