zeed
    Preparing search index...

    Function arraySetArrayInPlace

    • Replace the contents of array in-place with newContent and return it.

      Type Parameters

      • T

        element type

      Parameters

      • arr: T[]

        target array to overwrite

      • newContent: T[]

        new contents to set

      Returns T[]

      the same array instance after replacement