Type alias MaybeValueType<T>

MaybeValueType<T>: T extends Maybe<infer U>
    ? U
    : T

Obtains the wrapped type of a Maybe instance, if it exists. otherwise, returns the original type.

Type Parameters

  • T

    The type of the Maybe instance.

Generated using TypeDoc