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

Function isForeignComponent

packages/core/src/render3/jit/util.ts:18–20  ·  view source on GitHub ↗
(value: any)

Source from the content-addressed store, hash-verified

16import {stringifyForError} from '../util/stringify_utils';
17
18export function isForeignComponent(value: any): value is ForeignComponent {
19 return typeof value === 'object' && value !== null && RENDER in value;
20}
21
22export function isModuleWithProviders(value: any): value is ModuleWithProviders<{}> {
23 return (value as {ngModule?: any}).ngModule !== undefined;

Callers 1

verifyStandaloneImportFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected