Use inline `if` statement for single-line body