Skip to content

Commit

Permalink
Update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ardalanamini committed Feb 11, 2019
1 parent 53afabf commit df84aa9
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1580,7 +1580,7 @@ Number.isNumber(2); // true
* [.$dig(target)](#Object+$dig) ⇒ <code>\*</code>
* [.$empty()](#Object+$empty)
* [.$equals(obj)](#Object+$equals)[<code>Boolean</code>](#Boolean)
* [.$flatten(obj)](#Object+$flatten)[<code>Object</code>](#Object)
* [.$flatten()](#Object+$flatten)[<code>Object</code>](#Object)
* [.$forEach(fn)](#Object+$forEach)
* [.$get(key)](#Object+$get) ⇒ <code>\*</code>
* [.$invert()](#Object+$invert)[<code>Object</code>](#Object)
Expand Down Expand Up @@ -1712,15 +1712,10 @@ Performs a deep comparison between two values to determine if they are equivalen
```
<a name="Object+$flatten"></a>

### object.$flatten(obj) ⇒ [<code>Object</code>](#Object)
### object.$flatten() ⇒ [<code>Object</code>](#Object)
Flattens the object into a single-depth object

**Kind**: instance method of [<code>Object</code>](#Object)

| Param | Type |
| --- | --- |
| obj | [<code>Object</code>](#Object) |

**Example**
```javascript
({ foo: 1, bar: { foo: 2 } }).$flatten(); // { foo: 1, "bar.foo": 2 }
Expand Down

0 comments on commit df84aa9

Please sign in to comment.