---
title: shouldBadge
framework: CloudKit JS
role: symbol
role_heading: Instance Property
platforms: [cloudkit js 1.0+]
path: cloudkitjs/cloudkit.notificationinfo/shouldbadge
---

# shouldBadge

A Boolean value indicating whether a badge should be displayed. If true, a badge is displayed; otherwise, it is not. The default value is false.

## Declaration

```data
attribute Boolean shouldBadge;
```
