@common-utilities/filter-array
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "@common-utilities/filter-array", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "A basic implementation of the common utility function, filter-array 🧹", | ||
@@ -33,3 +33,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "094a0042033287b91a3f06a45f71e51596c3d100" | ||
"gitHead": "3de4a71ca5c0192f988bfdede188fc72f941f9a4" | ||
} |
@@ -18,5 +18,4 @@ # @common-utilities/filter-array 🧰🧹 | ||
```javascript | ||
const filterArray = (arr) => | ||
arr.filter((item, index, self) => self.indexOf(item) === index) | ||
```typescript | ||
const filterArray = (arr) => arr.filter((item, index, self) => self.indexOf(item) === index) | ||
``` | ||
@@ -31,4 +30,5 @@ | ||
```javascript | ||
const result = filterArray(['test', 'test', 'foo', 'bar', 'biz']) // ['test', 'foo', 'bar', 'biz']) | ||
```typescript | ||
filterArray(['test', 'test', 'foo', 'bar', 'biz']) | ||
// ['test', 'foo', 'bar', 'biz']) | ||
``` | ||
@@ -42,3 +42,3 @@ | ||
Just simple typed functional well documented and tested javascript utility functions—so why not use 'em? | ||
Simple, typed, functional, documented, and tested javascript utility functions. | ||
@@ -45,0 +45,0 @@ --- |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5001