Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ArrayConstructor

Index

Methods

Methods

from

  • Creates an array from an iterable object.

    Type parameters

    • T

    Parameters

    Returns T[]

  • Creates an array from an iterable object.

    Type parameters

    • T

    • U

    Parameters

    • iterable: Iterable<T> | ArrayLike<T>

      An iterable object to convert to an array.

    • mapfn: function

      A mapping function to call on every element of the array.

        • (v: T, k: number): U
        • Parameters

          • v: T
          • k: number

          Returns U

    • Optional thisArg: any

      Value of 'this' used to invoke the mapfn.

    Returns U[]

Generated using TypeDoc