Explore Library
FlashcardAdvanced

Generics with Unions and Optionals

A generic type parameter can be bound to a union type or used to make a value optional.

Question

How do generics interact with union types and optional values?

Click to reveal answer