JavaScript : How to check type of variable in ngIf in Angular2

Published --