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

Function isViewQuery

packages/core/src/render3/jit/directive.ts:494–497  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

492}
493
494function isViewQuery(value: any): value is Query {
495 const name = value.ngMetadataName;
496 return name === 'ViewChild' || name === 'ViewChildren';
497}
498
499function isInputAnnotation(value: any): value is Input {
500 return value.ngMetadataName === 'Input';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected