Returns a Boolean value indicating whether the value of the first argument is less than that of the second argument.
- Xcode 9.0+
- Swift Standard Library
A value to compare.
Another value to compare.
This function is the only requirement of the
Comparable protocol. The remainder of the relational operator functions are implemented by the standard library for any type that conforms to