Table of Contents

Struct Unit

Namespace
ShadowDusk.Core
Assembly
ShadowDusk.Core.dll

A type with exactly one value, used as the success type of a Result<T, TError> when an operation has no meaningful return value but can still fail (the functional equivalent of void).

public readonly struct Unit
Inherited Members

Fields

Value

The single Unit value.

public static readonly Unit Value

Field Value

Unit