kaven-basic - v6.0.0
    Preparing search index...

    Function ArrayRemove

    • Removes the specified item from the given array.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array from which to remove the item.

      • item: T

        The item to be removed from the array.

      • Optionaltype: TRemoveType

        (Optional) The removal strategy or type, defined by TRemoveType.

      Returns T[]

      A new array with the specified item removed.

      4.1.0

      2025-06-26

    • Removes all occurrences of the specified items from the given array.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array from which to remove items.

      • items: T[]

        The items to remove from the array.

      Returns T[]

      A new array with the specified items removed.

      4.1.0

      2025-06-26

    • Removes elements from the array that match the given predicate function.

      Type Parameters

      • T

      Parameters

      • array: T[]

        The array to remove elements from.

      • predicate: TPredicateFunction<T>

        A function that determines whether an element should be removed.

      Returns T[]

      A new array with the elements that do not match the predicate.

      4.1.0

      2025-06-26