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
A generic type parameter can be bound to a union type or used to make a value optional.
How do generics interact with union types and optional values?