Exercise #21: Maybe
Type Transformations ยท 03.5-type-helpers-pattern
Go back to exercises
Open in TypeScript Playground
Goal
Goal: Define a helper type that allows a value to also be null or undefined.
Check Solution
Run "Check Solution" to validate your code in the browser.