For example say I want to check if a value is greater than or equal to x, but less than or equal to y.
I figured I just needed to use the logical "and" operator like this:
if(value >= x && value <= y) {
do something
}
and it worked, but I'm curious to know if there are other methods of achieving the same result.