range
¶
This DataType performs a simple test on n using the following members.
Members¶
- bool Between[#1,#2:N]
-
True if N is between the range of #1 and #2, inclusive.
Example
Is 50 between 33 and 66?
${Range.Between[33,66:50]}
returns TRUEIs 25 between 33 and 66?
${Range.Between[33,66:25]}
returns FALSE - bool Inside[#1,#2:N]
-
True if N is within the range of #1 and #2, exclusive.
Example
Is 50 Inside 33 and 66?
${Range.Inside[33,66:50]}
returns TRUEIs 33 inside 33 and 66?
${Range.Inside[33,66:33]}
returns FALSE