Question · Angular course · Module 8: Forms
Creating a validator
What should a custom validator return when the value is valid?
Answer options
- true
- null
- undefined
- { valid: true }
You can check the correct answer by solving this task in the CodeWorlds game.