Function arrayInsert

  • Insert one or more elements into an array at the given position.

    Type Parameters

    • T

    Parameters

    • array: nil | T[]
    • index: number
    • ...values: T[]

    Returns T[]