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

Function extendsDirectlyFromObject

packages/core/src/render3/jit/directive.ts:369–371  ·  view source on GitHub ↗
(type: Type<any>)

Source from the content-addressed store, hash-verified

367}
368
369export function extendsDirectlyFromObject(type: Type<any>): boolean {
370 return Object.getPrototypeOf(type.prototype) === Object.prototype;
371}
372
373/**
374 * Extract the `R3DirectiveMetadata` for a particular directive (either a `Directive` or a

Callers 2

directive_spec.tsFile · 0.90
directiveMetadataFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected