---
title: isUnique
framework: corespotlight
role: symbol
role_heading: Instance Property
path: corespotlight/cscustomattributekey/isunique
---

# isUnique

A Boolean value that indicates if duplicate custom attribute values should be treated as the same value to save storage space.

## Declaration

```swift
var isUnique: Bool { get }
```

## Discussion

Discussion The default value of this property is false.

## See Also

### Getting the attribute details

- [keyName](corespotlight/cscustomattributekey/keyname.md)
- [isMultiValued](corespotlight/cscustomattributekey/ismultivalued.md)
- [isSearchable](corespotlight/cscustomattributekey/issearchable.md)
- [isSearchableByDefault](corespotlight/cscustomattributekey/issearchablebydefault.md)
