Method Some
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
Some(T)
Creates a Maybe<T> containing the given value.
[Pure]
public static Maybe<T> Some(T value)
Parameters
valueTThe value to contain.
Returns
Remarks
Some<T>(T) is usually more convenient, since it infers the type argument from the value.