Home > @gglib/utils > removeFromArray

removeFromArray() function

Removes an item from given array

Signature:

export declare function removeFromArray<T>(list: T[], item: T): boolean;

Parameters

Parameter Type Description
list T[]
item T

Returns:

boolean