Extract<T, UnionT>

Term side of the Card
Topic: Utility Types
Unit title: Extract<T, UnionT>
Categories: Utility type
Explanation side of the Card

Explanation: The utility type that filters a union type to retrieve only the types assignable to a given type, helping narrow down union types to include only the desired subset.

Edit on GitHubContributions in our content repository are 🤗 welcome from everyone.Link leads to the Contributions guidelines on GitHubLink leads to the content repository on GitHub