Macro range_check

Source
macro_rules! range_check {
    ($n:expr, $lower:expr, $upper:expr) => { ... };
}
Expand description

Enforces that a number is within the specified [LOWER, UPPER] bounds.

The brackets indicate that this range is inclusive on both sides.