mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
4 lines
134 B
TypeScript
4 lines
134 B
TypeScript
export const uniqueArray = (value: any, index: any, self: any) => {
|
|
return self.indexOf(value) === index && value !== undefined;
|
|
};
|