In other words:

```D
rangeAssert(i < 10);
```

=>

```D
version (assert)
if (!(i < 10)) throw new RangeError();
```