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 |
The observable that can contain nulls. |
Return Value
Type | Description |
---|---|
IObservable |
A non nullable version of the observable that only emits valid values. |