It doesn't bring anything compared to one-liners using ternary operators. One could argue that it may be more readable but it is a matter of preference.