---
schema_version: "1"
id: 5cf5b06f81a664e5acff2540ef637a90ea9a99b527e573f0f22efea6bd675a05
title: isEmpty()
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/platform/aura-platform/guides/aura/ref-jsapi/ref-jsapi-util-isempty.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-util-isempty.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: a9c7f6fe9009eb0ecfb2595276b5360eac2aff81112e6ff3ffaa3b78f9970f40
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# isEmpty()

Checks if the object is empty. An empty object’s value is `undefined`, `null`, an empty array, or an empty string. An object with no native properties is not considered empty.

## Signature

`isEmpty(Object obj)`

## Parameters

**_obj_:** Type: `Object`. The object to check.

## Returns

**Type: `Boolean`** Returns `true` if the object is empty, or `false` otherwise.

