• Unwraps the value of an Option of type T or returns a fallback value that defaults to null.

    Type Parameters

    • T

    Parameters

    Returns Nullable<T>

  • Type Parameters

    • T

    • U

    Parameters

    • option: Option<T>
    • fallback: (() => U)
        • (): U
        • Returns U

    Returns T | U

Generated using TypeDoc