Functions
unwrap
A utility function to get the value from a Result or throw if there was an error
A utility function to get the value from a Result or throw if there was an error
Signature
function unwrap(
result: Result<T, unknown>
): TParameters
Prop
Type
Returns
T
Remarks
Allows you to get the value of a result directly or handle an error Result as an exception
How would you rate this page?