Skip to content

Welshman Docs / @welshman/lib / without

Function: without() ​

without<T>(a, b): T[]

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

Returns elements from second array not present in first

Type Parameters ​

• T

Parameters ​

a ​

T[]

Array of elements to exclude

b ​

T[]

Source array

Returns ​

T[]

Filtered array