vis-util
    Preparing search index...

    Function copyArray

    • Used to extend an array and copy it. This is used to propagate paths recursively.

      Type Parameters

      • T

      Parameters

      • arr: readonly T[]

        The array to be copied.

      Returns T[]

      Shallow copy of arr.