UNPKG
@ce1pers/array-helpers
Version:
latest (1.2.0)
1.2.0
1.1.1
1.1.0
1.0.2
1.0.1
1.0.0
Included simple array helpers.
github.com/code1iners/celpers-js
code1iners/celpers-js
@ce1pers/array-helpers
/
dist
/
src
/
distincter.d.ts
7 lines
(6 loc)
•
191 B
TypeScript
View Raw
1
2
3
4
5
6
7
/** * Remove duplicate item in array. * *
@throws
{
TypeError
} Throws an type error if the 'array' argument is not array type. */
export
declare
const
distincter
:
(
array
:
any
[]
) =>
any
[];