()
Tuple 43 v393About This Type
Unit type — encodes to zero bytes.
Represents "nothing" or "void". Used as a placeholder where a type is required but no data is needed.
Encoding: Zero bytes. Nothing is written to the output.
Tuple (0 elements)
SCALE Encoding
- Rule
- Unit type — encodes to zero bytes.
- Size
- 0 bytes
Examples
Unit () = ()
(empty)(none) Zero bytes writtenCode Examples
// Unit type () — encodes to zero bytes
// No encoding neededReferenced By (4)
Type Information
- Type ID
- 43
- Kind
- Tuple
- Runtime
- v393