> For the complete documentation index, see [llms.txt](https://jscula.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jscula.gitbook.io/docs/object/objisempty.md).

# objIsEmpty

This function checks whether a given JavaScript object is empty.

**Parameters**

* **obj**: The object to be examined.

**Returns**

* **boolean**: Returns `true` if the object is empty, and `false` otherwise.

**Examples**

```javascript
const emptyObj = {};
console.log(objIsEmpty(emptyObj)); // Output: true

const nonEmptyObj = { key: 'value' };
console.log(objIsEmpty(nonEmptyObj)); // Output: false
```
