This is a weird usage of the ternary operator, please expand it to an `if`/`else`.