Skip to content

Commit

Permalink
Merge pull request #257 from ha-ku/master
Browse files Browse the repository at this point in the history
Fix isPlainObject require syntax in isMergeableObject example from readme.md
  • Loading branch information
TehShrike authored Mar 8, 2023
2 parents 234ecd8 + 056ca75 commit 52f9ff3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ You can accomplish this by passing in a function for the `isMergeableObject` opt
If you only want to clone properties of plain objects, and ignore all "special" kinds of instantiated objects, you probably want to drop in [`is-plain-object`](https://github.com/jonschlinkert/is-plain-object).

```js
const isPlainObject = require('is-plain-object')
const { isPlainObject } = require('is-plain-object')

function SuperSpecial() {
this.special = 'oh yeah man totally'
Expand Down

0 comments on commit 52f9ff3

Please sign in to comment.