Skip to content

Instantly share code, notes, and snippets.

@jsonberry
Last active January 13, 2019 18:48
Show Gist options
  • Save jsonberry/11894e095888bb36ee28d8daa53d2475 to your computer and use it in GitHub Desktop.
Save jsonberry/11894e095888bb36ee28d8daa53d2475 to your computer and use it in GitHub Desktop.
rxjs-examples
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