isObjectUnsafe

function isObjectUnsafe(val): val is Object

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

Parameters

ParameterTypeDescription
valanyVariable to test.

Returns

val is Object

Whether variable is an object.