ts-data-forge
    Preparing search index...
    Unwrap: O extends Some<infer S> ? S : never

    Extracts the value type S from an Some. If the Optional is None, resolves to never.

    Type Parameters

    • O extends UnknownOptional

      The UnknownOptional type to unwrap.