FlashcardAdvanced

Extract<T, U>

Extract keeps only union members assignable to U.

Question

What does Extract<T, U> do?

Click to reveal answer