0 of 5 problems solved0%

Union & Litteral Types

Model finite sets with literal types, combine them using unions, and narrow safely with typeof, equality checks, and switch.