Method Some
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
Some<T>(T)
Creates a Maybe<T> containing the given value.
[Pure]
public static Maybe<T> Some<T>(T value)
Parameters
valueTThe value to contain.
Returns
Type Parameters
TThe type of the value, inferred from
value.