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

Function isBuiltInAccessor

packages/forms/src/directives/shared.ts:379–383  ·  view source on GitHub ↗
(valueAccessor: ControlValueAccessor)

Source from the content-addressed store, hash-verified

377}
378
379export function isBuiltInAccessor(valueAccessor: ControlValueAccessor): boolean {
380 // Check if a given value accessor is an instance of a class that directly extends
381 // `BuiltInControlValueAccessor` one.
382 return Object.getPrototypeOf(valueAccessor.constructor) === BuiltInControlValueAccessor;
383}
384
385export function syncPendingControls(
386 form: AbstractControl,

Callers 1

selectValueAccessorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…