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

Function _describeControlLocation

packages/forms/src/directives/shared.ts:347–352  ·  view source on GitHub ↗
(dir: AbstractControlDirective)

Source from the content-addressed store, hash-verified

345}
346
347function _describeControlLocation(dir: AbstractControlDirective): string {
348 const path = dir.path;
349 if (path && path.length > 1) return `path: '${path.join(' -> ')}'`;
350 if (path?.[0]) return `name: '${path}'`;
351 return 'unspecified name attribute';
352}
353
354function _throwMissingValueAccessorError(dir: AbstractControlDirective) {
355 const loc = _describeControlLocation(dir);

Callers 3

_throwErrorFunction · 0.85

Calls 1

joinMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…