Function toArray

  • Converts an existing iterable to anarray of values.

    Type Parameters

    • TSource

      The type of elements in the source sequence.

    Parameters

    • source: Iterable<TSource>

      The source sequence to convert to an array.

    Returns TSource[]

    All the items from the source sequence as an array.

Generated using TypeDoc