Create an array of unique values, in order, from the input arrays
by sindresorhusTypeScript
Last 12 weeks · 0 commits
4 of 6 standards met
Repository: sindresorhus/array-union. Description: Create an array of unique values, in order, from the input arrays Stars: 78, Forks: 14. Primary language: TypeScript. Languages: TypeScript (53.6%), JavaScript (46.4%). License: MIT. Latest release: v3.0.1 (5y ago). Open PRs: 0, open issues: 0. Last activity: 5y ago. Community health: 85%. Top contributors: sindresorhus, coreyfarrell, BendingBender, isi-mbostwick, Richienb, realityking, stevemao, vivekimsit, coderaiser.
Array.flat creates new array, so spread here has no sense. This can be easily detected with help of @putout/remove-useless-spread rule of putout code transformer.