zeed
    Preparing search index...

    Function arrayEmptyInPlace

    • Empty an array in-place (remove all elements) and return it.

      Type Parameters

      • T

        element type

      Parameters

      • arr: T[]

      Returns T[]