@nevware21/ts-utils
    Preparing search index...

    Function polyArrAt

    • Polyfill implementation of Array.at() for environments that don't support it.

      Type Parameters

      • T

        Identifies the type of array elements

      Parameters

      • theArray: ArrayLike<T>

        The array or array-like object to get element from

      • index: number

        The index of the element to return

      Returns T

      The element at the specified index, or undefined if out of range

      0.14.0

      TypeError if theArray is null or undefined