isObjectUnsafer

function isObjectUnsafer(val): val is Object

Returns true for objects, includings arrays and functions.
Matches the behavior of goog.isObject, with an extremely permissive type.

Parameters

ParameterTypeDescription
valanyVariable to test.

Returns

val is Object

Whether variable is an object.