Code QuizIntermediate
Helper Function Loses Narrowing
Extracting a null check into a boolean-returning helper discards narrowing at the call boundary.
Why does `name.toUpperCase()` fail to compile inside the `if` block?
Extracting a null check into a boolean-returning helper discards narrowing at the call boundary.
Why does `name.toUpperCase()` fail to compile inside the `if` block?