Method HasValue
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
HasValue()
Gives true when there is a value.
[Pure]
public bool HasValue()
Returns
Remarks
There is no matching property to read the value with, deliberately. This is for the cases where only the existence of a value matters. Where the value is necessary, use Match<TResult>(Func<T, TResult>, Func<TResult>), thus the code answers the two cases.