Contents

previous()

Return the Character ending at currentCodeUnitOffset. After the function returns, currentCodeUnitOffset holds the position at the start of the returned Character, which is also the end of the previous Character.

Declaration

mutating func previous() -> Character?

Discussion

Returns nil if at the start of the UTF8Span.