core/extensions/unit_extension library

Classes

Unit
Represents a type with only one singular value.

Extensions

VoidResultX on Result<Unit>
Extension helper to quickly generate successful void outcomes.

Constants

unit → const Unit
The single, immutable concrete instance of the Unit type.

Typedefs

VoidResult = Result<Unit>
A highly expressive type alias representing an operation that completes with zero return data but can still implicitly fail.