<div dir="ltr"><div>Hi,</div><div> </div><div>I know there is an elegant way to check if a given value is within certain range.</div><div>Example - To check if x is between zero and ten, I can do 0 < x 10.</div><div> </div><div>Is there any similar elegant way to check if a value is out of certain range?</div><div>Example - To check if x is either less than zero or greater than ten?</div><div>Right now I am using x < 0 or x > 10.</div><div> </div><div>Regards,</div><div>Laxmikant</div></div>