Skip to content

Utils / isPlainObject

Function: isPlainObject() ​

isPlainObject<Value>(value: unknown): value is Record<PropertyKey, Value>

是否为普通的对象

Type Parameters ​

Type ParameterDefault type
Valueunknown

Parameters ​

ParameterType
valueunknown

Returns ​

value is Record<PropertyKey, Value>

MIT Licensed