Skip to content

Commit

Permalink
docs(merge): Improve merge.unique docs
Browse files Browse the repository at this point in the history
Closes #103.
  • Loading branch information
bebraw committed Aug 27, 2019
1 parent ad2f92a commit ef4c067
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.md
Expand Up @@ -92,6 +92,10 @@ customizeObject({ object1: {} }, { object2: {} }, bar2);

### **`merge.unique(<field>, <fields>, field => field)`**

The first <field> is the config property to look through for duplicates.

<fields> represents the values that should be unique when you run the field => field function on each duplicate.

```javascript
const output = merge({
customizeArray: merge.unique(
Expand Down

0 comments on commit ef4c067

Please sign in to comment.