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

Function uniqLoginAsyncValidator

packages/forms/test/reactive_integration_spec.ts:6338–6340  ·  view source on GitHub ↗
(expectedValue: string, timeout: number = 0)

Source from the content-addressed store, hash-verified

6336}
6337
6338function uniqLoginAsyncValidator(expectedValue: string, timeout: number = 0) {
6339 return asyncValidator((c) => c.value === expectedValue, timeout, {'uniqLogin': true});
6340}
6341
6342function observableValidator(resultArr: number[]): AsyncValidatorFn {
6343 return (c: AbstractControl) => {

Callers 2

validateMethod · 0.85

Calls 1

asyncValidatorFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…