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