From 50b010210df25c470386f7e39a9389a4a77b3842 Mon Sep 17 00:00:00 2001 From: Ben Durrant Date: Sat, 23 Dec 2023 16:44:33 +0000 Subject: [PATCH] format isPlainObject.ts --- src/utils/isPlainObject.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/utils/isPlainObject.ts b/src/utils/isPlainObject.ts index f86627753e..442f7d0894 100644 --- a/src/utils/isPlainObject.ts +++ b/src/utils/isPlainObject.ts @@ -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 + ) }