The ```static if``` is necessary because we use ```expression()``` as the condition of a trinary operator, which does not accept null as the condition. If you remove the static if and write ```null.ifThrown(false)``` you get a compile-time error: ```Error: expression expression() of type typeof(null) does not have a boolean value```. It's the same as writing ```null ? 1 : 2```.