(instance: any)
| 208 | } |
| 209 | |
| 210 | export function isDirectiveInstance(instance: any): boolean { |
| 211 | return instance && instance.constructor && instance.constructor.ɵdir; |
| 212 | } |
| 213 | |
| 214 | /** |
| 215 | * Locates the element within the given LView and returns the matching index |