Type Alias Option<T>

Option<T>: Some<T> | None

Union type representing either a Some or None value. This is the main Option type that provides type-safe nullable value handling.

Type Parameters

  • T

    The type of the value that may or may not exist