Skip to content

isObject

function isObject(obj): obj is object;

Check if the value is a plain object.

any

The value to check

obj is object

true when the value is an object and not an array nor null