FuncType - v2.0.0
    Preparing search index...

    Type Alias Option<T>

    Option: SomeOf<T> | NoneOf<T>

    A value that may or may not exist: a Some or a None. TypeScript narrows it across both branches of isSome() / isNone() and _tag checks. Variance comes from SomeOf and NoneOf, because a union type alias can't carry its own variance annotation.

    Type Parameters

    • T extends Type

      The type of the value contained in the Option