Filter-array🧹

@common-utilities/filter-array 🧰

Typed with TypeScriptarrow-up-right npm versionarrow-up-right

FilterArray is a common function a common function that removes deplicate items from an array.

Install

yarn add @common-utilities/filter-array -D

Usage

filterArray(['test', 'test', 'foo', 'bar', 'biz'])
// ['test', 'foo', 'bar', 'biz'])

Common Utilities 🧰

No cruft. No bloat. No dependencies.

Simple, typed, functional, documented, and tested javascript utility functions.

View other common utilitiesarrow-up-right on Github.

Last updated

Was this helpful?