Skip to content

Welshman Docs / @welshman/lib / removeAt

Function: removeAt() ​

removeAt<T>(i, xs): T[]

Defined in: packages/lib/src/Tools.ts:469

Removes element at index

Type Parameters ​

T ​

T

Parameters ​

i ​

number

Index to remove

xs ​

T[]

Source array

Returns ​

T[]

New array with element removed