Const
Unwraps the value of an Option of type T or returns a custom fallback value. If the option is a Some, it returns its value, Otherwise, it returns the return value of the provided fallback callback.
T
Use unwrapOption instead.
Unwraps the value of an Option of type
T
or returns a custom fallback value. If the option is a Some, it returns its value, Otherwise, it returns the return value of the provided fallback callback.