This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Constraining a generic with a union gives you both type preservation and bounded flexibility.
You've completed the free preview. Subscribe to unlock every lesson in every course.