Inverted syntax with conditional expressions

In traditional syntax conditional expressions are usually shown before the action within a statement or code block:

 IF raining=true THEN needumbrella=true 
In inverted syntax, the action is listed before the conditional expression in the statement or code block:

 needumbrella=true IF raining=true 
Inverted syntax with assignment

In traditional syntax, assignments are usually expressed with the variable appearing before the expression:

 a = 6
In inverted syntax, the expression appears before the variable:

 6 = a
Task

The task is to demonstrate support for inverted syntax forms within the language by showing both the traditional and inverted forms.

#!/usr/bin/rdmd
 
import std.algorithm;
 
void main() {
    assert("Hello, World".length == 12);
    assert("Cleanliness".startsWith("Clean"));
 
    auto r = [1, 4, 2, 8, 5, 7]
        .filter!(n => n > 2)
        .map!(n => n * 2);
 
    assert(r.equal([8, 16, 10, 14]));
}