if
Using a simple ternary operator is usually fine; however, code combining two ternary operator is a bit hard to follow.