Javascript – RXJS observing an observable on a possibly undefined object
Given two sources, one of which might be undefined how can I combineLatest of the two? const observable1 = interval(100); const observable2 = this.ref?.observable; // this is a reference to an angular viewchild that will not exist until some unknown…