---
title: properties
framework: swift
role: symbol
role_heading: Instance Property
path: swift/unicode/scalar/properties-swift.property
---

# properties

Properties of this scalar defined by the Unicode standard.

## Declaration

```swift
var properties: Unicode.Scalar.Properties { get }
```

## Discussion

Discussion Use this property to access the Unicode properties of a Unicode scalar value. The following code tests whether a string contains any math symbols: let question = "Which is larger, 3 * 3 * 3 or 10 + 10 + 10?" let hasMathSymbols = question.unicodeScalars.contains(where: {     $0.properties.isMath }) // hasMathSymbols == true

## See Also

### Inspecting a Scalar

- [value](swift/unicode/scalar/value.md)
- [Unicode.Scalar.Properties](swift/unicode/scalar/properties-swift.struct.md)
- [hash(into:)](swift/unicode/scalar/hash(into:).md)
- [isASCII](swift/unicode/scalar/isascii.md)
