function isEmptyOrNullishObject(val): val is Object
Returns true if the specified object is either empty or all existing keys map to a nullish value
| Parameter | Type | Description |
|---|
val | unknown | Variable to test |
val is Object
Whether variable is empty or maps exclusively to nullish values