@ironarachne/words
    Preparing search index...

    Function arrayToPhrase

    • This function takes an array of words and returns a phrase connected by commas and a conjunction.

      Parameters

      • words: string[]

        The array of words to convert to a phrase.

      • Optionalconjunction: string = "and"

        The conjunction to use.

      Returns string

      The phrase.