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

Function extendsDirectlyFromObject

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

Source from the content-addressed store, hash-verified

369}
370
371export function extendsDirectlyFromObject(type: Type<any>): boolean {
372 return Object.getPrototypeOf(type.prototype) === Object.prototype;
373}
374
375/**
376 * 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