Table of Contents

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

onSome Action<T>

Run with the contained value when there is one.