Function: isObject()

isObject(val): val is object

Checks if the given value is an object.

Parameters

val

unknown

The value to be checked.

Returns

val is object

Returns true if the value is an object, otherwise false.