* @description * Validator that requires the control's value to be less than or equal to the provided number. * * @usageNotes * * ### Validate against a maximum of 15 * * ```ts * const control = new FormControl(16, Validators.max(15)); * * console.log(control.errors); /
(max: number)
| 207 | * |
| 208 | */ |
| 209 | static max(max: number): ValidatorFn { |
| 210 | return maxValidator(max); |
| 211 | } |
| 212 | |
| 213 | /** |
| 214 | * @description |
no test coverage detected