MCPcopy Index your code
hub / github.com/angular/angular / email

Method email

packages/forms/src/validators.ts:298–300  ·  view source on GitHub ↗

* @description * Validator that requires the control's value pass an email validation test. * * Tests the value using a [regular * expression](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Regular_Expressions) * pattern suitable for common use cases. The pattern is bas

(control: AbstractControl)

Source from the content-addressed store, hash-verified

296 *
297 */
298 static email(control: AbstractControl): ValidationErrors | null {
299 return emailValidator(control);
300 }
301
302 /**
303 * @description

Callers 5

validators_spec.tsFile · 0.80
email.spec.tsFile · 0.80
AppClass · 0.80
constructorMethod · 0.80

Calls 1

emailValidatorFunction · 0.85

Tested by

no test coverage detected