(target: any)
| 196 | } |
| 197 | |
| 198 | export function readPatchedLView<T>(target: any): LView<T> | null { |
| 199 | const value = readPatchedData(target); |
| 200 | if (value) { |
| 201 | return (isLView(value) ? value : value.lView) as LView<T>; |
| 202 | } |
| 203 | return null; |
| 204 | } |
| 205 | |
| 206 | export function isComponentInstance(instance: any): boolean { |
| 207 | return instance && instance.constructor && instance.constructor.ɵcmp; |
no test coverage detected