I\'m trying to write a helper method in Kotlin which would check if all the values in a sequence has the same value.
Thanks to the question here
Java Style cod