isEmpty

open fun isEmpty(): Boolean(source)

Checks if the progression is empty.

Progression with a positive step is empty if its first element is greater than the last element. Progression with a negative step is empty if its first element is less than the last element.

Since Kotlin

1.5