The working of typesofchecks in Angular 8 is similar with the enabled and disabled flag, which means if you want to test whether the selected value is an object or not, then the following syntax is used " Typeof value = = = 'object' ". In angular 8 the folwing types of checks are used such as “Typeof value.ngOnDestroy = = = 'function' “.

BY Best Interview Question ON 12 Aug 2019