SEARCH
You are in browse mode. You must login to use MEMORY

   Log in to start


From course:

TypeScript

» Start this Course
(Practice similar questions for free)
Question:

What is this type called? type TrafficLight = CanCross | ShouldStop;

Author: John Pencola



Answer:

Union Remember: it is either a value of type X or of type Y


0 / 5  (0 ratings)

1 answer(s) in total