Function subarray

  • Returns a copy of a part of an array, going forwards or backwards

    Type Parameters

    • T

    Parameters

    • a: T[]

      Array

    • startAt: number

      Index to start at

    • length: number

      Positive or negative

    Returns T[]

Generated using TypeDoc