MCPcopy Create free account
hub / github.com/angular/angular / hasOwnControl

Function hasOwnControl

packages/forms/src/model/abstract_model.ts:1834–1839  ·  view source on GitHub ↗
(
  controls: {[key: string]: AbstractControl<any>},
  name: string | number | symbol,
)

Source from the content-addressed store, hash-verified

1832}
1833
1834export function hasOwnControl(
1835 controls: {[key: string]: AbstractControl<any>},
1836 name: string | number | symbol,
1837): boolean {
1838 return Object.hasOwn(controls, name);
1839}

Callers 2

_findMethod · 0.90
assertControlPresentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected