Welshman Docs / @welshman/lib / remove
Function: remove() ​
remove<
T>(a,xs):T[]
Defined in: packages/lib/src/Tools.ts:469
Removes all instances of an element from array
Type Parameters ​
T ​
T
Parameters ​
a ​
T
Element to remove
xs ​
T[]
Source array
Returns ​
T[]
New array with element removed