Yes, that was clear; I was commenting only on the coding style: either use a guard to the left of the arrow or place the conditional on the next line, that makes it easier to see the difference between the two (which is exactly what you just explained).