Truncated If statements to one line where logical