Skip to content

@miyue-mma/shared / isPlainObject

函数: isPlainObject()

ts
function isPlainObject(val): val is object

判断是否为普通的 object

参数

val

unknown

待判断的值

返回

val is object

Released under the MIT License.