operator <= method

bool operator <=(
  1. Temperature other
)

Check this Temperature has lower or equal measurment of other.

Implementation

bool operator <=(Temperature other) => compareTo(other) <= 0;