Unit overview

Added in v2.1.0


Table of contents


Unit

Unit

Represents a type with a single inhabitant, undefined.

Transcoders will permit any input and map it to void. Useful for decoding return types where the value is not intended to be used.

Signature

export declare const Unit: Schema<void, void>

Added in v2.1.0