ichigyou
    Preparing search index...

    Function removeElement

    • Removes a specific element from an array.

      Type Parameters

      • T

      Parameters

      • arr: T[]

        The array from which to remove the element.

      • element: T

        The element to remove.

      Returns T[]

      A new array with the specified element removed.