Type alias Option<T>

Option<T>: Some<T> | None

An implementation of the Rust Option type in JavaScript. It can be one of the following:

  • Some: Meaning there is a value of type T.
  • None: Meaning there is no value.

Type Parameters

  • T

Generated using TypeDoc