Angular FormControl get maxLength value

When I create a FormControl as so,

test: FormControl = new FormControl(”, Validators.maxLength(10))

Is it possible, and how can I do it, to get the value set in maxLength before the error occurs?

Source: Angular Questions