Skips / filters values which contains null for any property. Narrows the type of all properties within the object type from T | null to just T.
Example:
const x: Observable<{ a: number | null, b: string | null }>;const z: Observable<{ a: number, b: string }> = x.pipe( skipSomePropertyNull); Copy
const x: Observable<{ a: number | null, b: string | null }>;const z: Observable<{ a: number, b: string }> = x.pipe( skipSomePropertyNull);
value { a: 1, b: 'foo' } will pass through
value { a: 1, b: null } will be skipped
value { a: null, b: 'foo' } will be skipped
Skips / filters values which contains null for any property. Narrows the type of all properties within the object type from T | null to just T.
Example:
value { a: 1, b: 'foo' } will pass through
value { a: 1, b: null } will be skipped
value { a: null, b: 'foo' } will be skipped