Thanks to visit codestin.com Credit goes to kotlinlang.org
Checks if the range is empty.
The range is empty if its start value is greater than the end value.
Thanks for your feedback!