tsargp
    Preparing search index...

    Function arrayWithPhrase

    • Creates an array with a phrase to be applied to each element. To be used as argument in formatting functions.

      Type Parameters

      • T

        The type of array element

      Parameters

      • $phrase: string

        The custom phrase

      • $elements: readonly T[]

        The array elements

      Returns { $elements: readonly T[]; $phrase: string }

      The array with a phrase