• This function is a helper for pluralizing strings.

    Parameters

    • i: number

      The quantity of the string you want to pluralize

    • singular: string

      The singular version of the string

    • Optionalplural: string

      The change to the string that should occur if the quantity is not equal to 1. Defaults to adding an 's'.

    Returns string