Table of Contents

Method MatchVoid

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

MatchVoid(Action<T>, Action)

Runs one action when there is a value, and a different action when there is none.

public void MatchVoid(Action<T> onSome, Action onNone)

Parameters

onSome Action<T>

Run with the contained value when there is one.

onNone Action

Run when there is no value.