is there any way in angular 2 (v. 2.4.0) to make for loop, or forEach loop taking every objects from class? I mean
export interface RegistrationDataInterface {
first_name: string;
    surname: string;
    used_name: string;
    email: string;
}
export class Smth{
registrationSharingData: RegistrationDataInterface;
 checkOut(){
forEach(item from this.registrationSharingData)
{
    if(item!="null")
    {//dosmth}
}}}
I dont want to make 20 ifs, thanks :)
 
    