Skip to content

Commit bb863c5

Browse files
committed
Format
1 parent cb2c846 commit bb863c5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/utils/kindOf.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,11 @@ export function miniKindOf(val: any): string {
3030
}
3131

3232
// other
33-
return Object.prototype.toString.call(val).slice(8, -1).toLowerCase().replace(/\s/g, '')
33+
return Object.prototype.toString
34+
.call(val)
35+
.slice(8, -1)
36+
.toLowerCase()
37+
.replace(/\s/g, '')
3438
}
3539

3640
function ctorName(val: any): string | null {

0 commit comments

Comments
 (0)