Coding task · Angular course · Module 8: Forms
Practice: Custom Validator
A custom validator is a function that takes an AbstractControl and returns an errors object when the value is invalid. The type of such a function is exported by @angular/forms; also remember what a validator returns when the value is valid.
Task
Complete the custom validator that checks the samurai name does not contain digits.