The recording of the first ever ReactiveUI virtual conference is available on our YouTube Channel.

ObservableMixins.

WhereNotNull<T>(IObservable<T?>) Method

Summary

Returns only values that are not null. Converts the nullability.
Namespace
ReactiveUI
Containing Type
ObservableMixins

Syntax

public static IObservable<T> WhereNotNull<T>(this IObservable<T?> observable)

Type Parameters

Name Description
T The type of value emitted by the observable.

Parameters

Name Type Description
observable IObservable<T?> The observable that can contain nulls.

Return Value

Type Description
IObservable<T> A non nullable version of the observable that only emits valid values.