From 55f132b318c8a73420e40fdfbaa709f86bfe9887 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A5=BF=E8=8A=B1?= Date: Tue, 22 Oct 2024 15:40:39 +0800 Subject: [PATCH] =?UTF-8?q?chore(util):=20=E6=B7=BB=E5=8A=A0=E6=B3=A8?= =?UTF-8?q?=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/classOf.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/classOf.ts b/src/classOf.ts index 43d6ef5..d76a27f 100644 --- a/src/classOf.ts +++ b/src/classOf.ts @@ -1,6 +1,7 @@ import Types from './types'; import { getClassName, ANONYMOUS } from './utils'; +// 获取值的类型 const classOf = (o) => { if (o === null) { return 'null'; } if (o === undefined) { return 'undefined'; }