isObject
function isObject(obj): obj is object;Check if the value is a plain object.
Parameters
Section titled “Parameters”any
The value to check
Returns
Section titled “Returns”obj is object
true when the value is an object and not an array nor null