Another way to check the value exists:
public currentUser = this.currentUserSubject
.asObservable()
.filter<User>(Boolean)
.distinctUntilChanged();
Another way to check the value exists:
public currentUser = this.currentUserSubject
.asObservable()
.filter<User>(Boolean)
.distinctUntilChanged();