Skip to main content

Module option

Module option 

Source
Expand description

This module defines the Option type and its methods to represent and handle an optional value.

Structsยง

Option
Abstraction of a value that may or may not be present. Implemented with a vector of size zero or one because Move bytecode does not have ADTs.
OptionTypeTag