Function arrEachToString

  • Coerce each element of an array to string.

    Type Parameters

    • T

      The type of elements in the input array.

    Parameters

    • array: T[]

      The array to iterate over.

    Returns string[]

    A new array where each element is the string representation of the corresponding element in the input array.

    Example

    const numbers = [1, 2, 3];
    arrEachToString(numbers);
    //=> ['1', '2', '3']

Generated using TypeDoc