Quiz About Union Types

Test your knowledge of union types.

We'll cover the following...
Technical Quiz
1.

Why are union types useful?

A.

They enable returning multiple types from a union of types.

B.

They enable returning one type from a union of types.

C.

They enable returning one of multiple types.

D.

B and C


1 / 5