Exercise #63: Type Predicates And Classes
Advanced Patterns ยท 04-classes
Goal

Goal: Turn `isInvalid` into a type predicate that narrows `this.error` when the form is invalid.

Run "Check Solution" to validate your code in the browser.