You want to know if a variable is inside a given range.
Use CoffeeScript's chained comparison syntax.
This is a nice feature lifted from Python. Instead of writing out the full comparison like
CoffeeScript allows us to chain the two comparisons together in a form that more closely matches the way a mathematician would write it.