@tempots/std

isEmptyObject() function

Checks if an object is empty. An object is considered empty if it has no own enumerable properties.

Signature:

isEmptyObject: (obj: object) => boolean

Parameters

Parameter

Type

Description

obj

object

The object to check.

Returns: boolean

true if the object is empty, false otherwise.