Last active
January 13, 2019 18:48
-
-
Save jsonberry/11894e095888bb36ee28d8daa53d2475 to your computer and use it in GitHub Desktop.
rxjs-examples
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
import { from } from 'rxjs'; | |
import { ignoreFalsySignals, tapLog } from 'rxjs-toolkit'; | |
from([ | |
'I', | |
false, | |
'am', | |
null, | |
'truthy', | |
]).pipe( | |
ignoreFalsySignals(), | |
tapLog(), // "I", "am", "truthy" | |
).subscribe(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment