Chapter 1
Manipulating and Checking Values
Section 4
Unicode Scalar Properties
When working with unicode scalars in Swift 4.2, we had to check for range of values, for example, in order to know if unicode is a small letter alphabet, we had to check if the unicode value is between 97 and 122, and in order to check if a unicode represents a digit from 0 to 9, we had to check between 48 and 57. This can become very tedious and it is error prone, this is why Swift 5 introduced many unicode properties to make this check very easy.