Appearance
isObjectLike(val): val is object
val
val is object
判断是否为对象,基于 typeof 进行判断并排除了 null
typeof
null
unknown