* This function should not exist because it is megamorphic and only mostly correct. * * See call site for more info.
(obj: any)
| 477 | * See call site for more info. |
| 478 | */ |
| 479 | function isDirectiveDefHack(obj: any): obj is DirectiveDef<any> { |
| 480 | return ( |
| 481 | obj.type !== undefined && |
| 482 | obj.declaredInputs !== undefined && |
| 483 | obj.resolveHostDirectives !== undefined |
| 484 | ); |
| 485 | } |
| 486 | |
| 487 | /** |
| 488 | * Retrieve the component `LView` from component/element. |
no outgoing calls
no test coverage detected
searching dependent graphs…