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

Method contains

packages/forms/src/model/form_group.ts:390–392  ·  view source on GitHub ↗
(controlName: K)

Source from the content-addressed store, hash-verified

388 contains(this: FormGroup<{[key: string]: AbstractControl<any>}>, controlName: string): boolean;
389
390 contains<K extends string & keyof TControl>(controlName: K): boolean {
391 return this._find(controlName)?.enabled === true;
392 }
393
394 /**
395 * Sets the value of the `FormGroup`. It accepts an object that matches

Callers 1

_anyControlsMethod · 0.95

Calls 1

_findMethod · 0.95

Tested by

no test coverage detected