---
schema_version: "1"
id: 154d3ef39efa5788bfe5c9759dd927c960cf17a585ff18fdcd681837d7b514d2
title: getBooleanValue()
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-getbooleanvalue.md
canonical_url: https://developer.salesforce.com/docs/platform/aura-platform/guide/ref-jsapi-util-getbooleanvalue.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 069b22c562893df703f995d9fe927c4f4ba9beef3e026c6a543984ad8186d7fe
products:
  - Lightning Aura Components Developer Guide
  - Platform Developer Content
---

# getBooleanValue()

Coerces truthy and falsy values into a native boolean.

## Signature

`getBooleanValue(Object val)`

## Parameters

**_val_:** Type: `Object`. The object to check.

## Returns

**Type: `String`** Returns `true` if the object is truthy, or `false` otherwise.

