• Resize a given array to a desired number of elements by adding or removing some.

    Type Parameters

    • T

    Parameters

    • arr: T[]
    • desiredSize: number
    • factoryFn: (() => T)
        • (): T
        • Returns T

    Returns void

    Author

    Ikaros Kappler

    Date

    2024-02-07

    Version

    1.0.0