Skip to content

removeFromArray

removeFromArray<T>(array, value): T[]

Defined in: src/util/internals/removeFromArray.ts:8

Removes value from an array. Presence of value (and its position in an array) is determined via Array.prototype.indexOf

Type Parameters

T

Parameters

array

T[]

value

T

Returns

T[]

original array