Method MatchSome
- Namespace
- SodaFlow.Functional
- Assembly
- SodaFlow.Functional.dll
MatchSome(Action<T>)
Runs an action with the contained value when there is one, and otherwise does nothing.
public void MatchSome(Action<T> onSome)
Parameters
onSomeAction<T>Run with the contained value when there is one.