Instance Propertyswift 6.0.1Swift

isMath

A Boolean value indicating whether the scalar is one that naturally appears in mathematical contexts.

var isMath: Bool { get }

The set of scalars for which this property is true includes mathematical operators and symbols as well as specific Greek and Hebrew letter variants that are categorized as symbols. Notably, it does not contain the standard digits or Latin/Greek letter blocks; instead, it contains the mathematical Latin, Greek, and Arabic letters and numbers defined in the Supplemental Multilingual Plane.

This property corresponds to the “Math” and the “Other_Math” properties in the Unicode Standard.