Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "toArray"

Index

Functions

Functions

toArray

  • toArray<T>(this: Sequence<T>, array?: Array<T>): Array<T>
  • Returns all elements of the sequence as array. If an array is passed the elements are appended to the end of the array.

    Type parameters

    • T

    Parameters

    • this: Sequence<T>
    • Optional array: Array<T>

    Returns Array<T>