This package provides an optional value Option<T>, which is either Some or None. Some contains a value, and None does not.

There is a number of use cases about Option:

  • Nullable value
  • Lazy initialized value
  • Optional parameter
  • Return value for showing that there are no meaningful value to report error
  • Optional field of an object

Index

Interfaces

Type Aliases

Variables

Functions

Generated using TypeDoc