how do I know what type something is in Angular / typescript code example Example: angular type of string if(typeof myVariable === 'string'){ //do }