Function removeAt

  • Removes the element at the given position.

    Type Parameters

    • T

    Parameters

    • array: T[]

      The array to mutate.

    • index: number

      The index where to remove

    Returns T | undefined

    The removed element or nothing.

Generated using TypeDoc