Course contentsShow
TypeScript
Lesson 383 of 1,7969. Union TypesPro lesson

Creating Simple Union Types

Combine two or more types with | to allow a variable to hold values of either type.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.