asSuccessful
Casts the current instance of Result
to a Success
type if it is a successful result.
Return
The current instance cast to Success<TResult>
.
Throws
if not Success
Casts the current instance of Result
to a Success
type if it is a successful result.
The current instance cast to Success<TResult>
.
if not Success