Method Ignore
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
Ignore<T>(T)
Discards a value and gives Unit as the replacement.
public static Unit Ignore<T>(this T o)
Parameters
oTThe value to discard.
Returns
Type Parameters
TThe type of the value to discard.
Remarks
For deliberately throwing away a result, where saying so is clearer than letting the expression operate on its own.