Skip to content

Commit

Permalink
format isPlainObject.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
EskiMojo14 committed Dec 23, 2023
1 parent 66f955f commit 50b0102
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils/isPlainObject.ts
Expand Up @@ -10,5 +10,7 @@ export default function isPlainObject(obj: any): obj is object {
proto = Object.getPrototypeOf(proto)
}

return Object.getPrototypeOf(obj) === proto || Object.getPrototypeOf(obj) === null
return (
Object.getPrototypeOf(obj) === proto || Object.getPrototypeOf(obj) === null
)
}

0 comments on commit 50b0102

Please sign in to comment.