isEmpty

Returns true if the rectangle is empty (left >= right or top >= bottom)

fun isEmpty(): Boolean