Function formatStringWithArticle

  • Formats a string with an appropriate article ('a' or 'an') based on the first letter of the string.

    Parameters

    • str: string

      The string to format.

    • lowercase: boolean = false

    Returns string

    The formatted string with the appropriate article.

    Default

    false Whether to return the article in lowercase.
    

Generated using TypeDoc