Table of Contents

Method GetValueAsObject

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

GetValueAsObject()

Gets whichever value this holds, without regard to which case it is.

[Pure]
object? GetValueAsObject()

Returns

object

The held value, boxed if it is a value type.

Remarks

This loses the case with the type. Where one of the two is necessary, use one of the Match operations.