Skip to content

Commit e470419

Browse files
committed
- Added flatten function.
- Updated tests. - Updated README.
1 parent 70b8e83 commit e470419

10 files changed

Lines changed: 336 additions & 170 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,6 +377,16 @@ Any additional arguments supplied will be merged onto the first object.
377377
_.extend(object, ...objects);
378378
```
379379

380+
**Flatten**
381+
382+
Flatten an object using dot notation.
383+
384+
- `object` is the object you are flattening.
385+
386+
```javascript
387+
const flattened = _.flatten(object);
388+
```
389+
380390
**Forget Dot**
381391

382392
Remove a specified key from an object using dot notation.

dist/frost-core.js

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frost-core.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frost-core.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/frost-core.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)