Created
November 16, 2019 06:29
-
-
Save oleersoy/80cac8f857a2a9f9d64221417696ac65 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const isActiveTodoInCollection$:Observable<boolean> = | |
combineLatest(active$, | |
collection$, | |
(a, c)=>{ | |
if (getMapValue(central.active)) { | |
return collection.containsById(getMapValue(central.active)); | |
} | |
return false; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment