utf16

A view of the attributed substring’s contents as a collection of UTF-16 code units.

Declaration

var utf16: AttributedString.UTF16View { get }