• Returns an array which is a copy of inputArray extended to totalLength, with new values filled with fillValue. Input array is returned as-is if totalLength is not longer than its length.

    Type Parameters

    • A

    Parameters

    • inputArray: A[]
    • totalLength: number
    • fillValue: A

    Returns A[]

Generated using TypeDoc