---
schema_version: "1"
id: 7c98d4546e5c8f77c05976b1d9193cb7ae4d7f335d1e87e6b3dc8e8267009392
title: isBackground()
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-action-isbackground.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-action-isbackground.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 73b8010cc1531ca92d9f8bcde6776c9ea52d7ee608946b9d78e264c40190407b
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# isBackground()

Returns `true` if the action is enqueued in the background, `false` if it’s enqueued in the foreground.

## Signature

`isBackground()`

## Returns

**Type: `Boolean`** Returns `true` if the action is enqueued in the background.

