Beginner TypeScript
Q24 / 100

Which symbol is used for non-null assertion in TypeScript?

Correct! Well done.

Incorrect.

The correct answer is B) !

B

Correct Answer

!

Explanation

The "!" postfix operator asserts that a value is not null or undefined, e.g. "value!.length".

Progress
24/100