• Given a count and a unit, return the pluralized form of the unit if the count is not 1.

    Parameters

    • count: number

      the count

    • unit: string

      the unit

    Returns string

    the pluralized form of the unit if the count is not 1