* @description * Validator that requires the control's value be true. This validator is commonly * used for required checkboxes. * * @usageNotes * * ### Validate that the field value is true * * ```ts * const control = new FormControl('some value', Validators.requiredTrue)
(control: AbstractControl)
| 256 | * |
| 257 | */ |
| 258 | static requiredTrue(control: AbstractControl): ValidationErrors | null { |
| 259 | return requiredTrueValidator(control); |
| 260 | } |
| 261 | |
| 262 | /** |
| 263 | * @description |
no test coverage detected