Package: @hexos/common

Type guard that checks whether a value is a plain object (not an array or primitive).

Returns true for objects created via {}, Object.create(), or new Object(). Returns false for arrays, null, undefined, and primitive values.

function isObject(item: any): item is object

Parameters

item

any