---
schema_version: "1"
id: 48c99a5a982d716390ef8e8d8de531cb2bbc16f0158cb49cea54a264ed554b49
title: isUndefinedOrNull()
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-isundefinedornull.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-util-isundefinedornull.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: c3e3f3dd2b0a269c68bb4a1f299a6ea46d1fb3a2bb8a6b0beebef3ea5f1cf13e
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# isUndefinedOrNull()

Checks if the object is `undefined` or `null`.

## Signature

`isUndefinedOrNull(Object obj)`

## Parameters

**_obj_:** Type: `Object`. The object to check.

## Returns

**Type: `Boolean`**

Returns `true` if the object is `undefined` or `null`, or `false` otherwise.

