actionscript number is between():Boolean

Posted by davi on Stack Overflow See other posts from Stack Overflow or by davi
Published on 2010-04-12T03:38:35Z Indexed on 2010/04/12 3:43 UTC
Read the original article Hit count: 439

Does Actionscript have a built-in function that accepts a number and can return a Boolean if this number is between 2 numbers.

For example

3 is between 2 and 6   //returns true
5 is between 10 and 20 //returns false

© Stack Overflow or respective owner

Related posts about actionscript-3

Related posts about actionscript