---
schema_version: "1"
id: 83905ad4c6a79aba9c005fa6e6684da8a0bb3b70294dd9b2de30e3ef96868079
title: isValid()
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-component-isvalid.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-component-isvalid.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 6948b05900846e3d559e29bf7fdc33aa97ee402004c74fd4ef339f65a2a63c98
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# isValid()

Returns `true` if the component has not been destroyed.

## Signature

`isValid()`

## Returns

**Type: `Boolean`** Returns `true` if the component has not been destroyed, or `false` otherwise.

