Function formatDuration

  • Format duration to human readable string

    Parameters

    • ms: number

    Returns string