Skip to content

Commit 50b0102

Browse files
committedDec 23, 2023
format isPlainObject.ts
1 parent 66f955f commit 50b0102

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/utils/isPlainObject.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ export default function isPlainObject(obj: any): obj is object {
1010
proto = Object.getPrototypeOf(proto)
1111
}
1212

13-
return Object.getPrototypeOf(obj) === proto || Object.getPrototypeOf(obj) === null
13+
return (
14+
Object.getPrototypeOf(obj) === proto || Object.getPrototypeOf(obj) === null
15+
)
1416
}

0 commit comments

Comments
 (0)
Please sign in to comment.