Function StackOption & Result
Result Map
This function stack applies a transformation to the value inside the result only when the result contains a value. If the result has an error, the transformation is skipped.
Configuration:
Value: The optional value to apply the transformation to.
Default Value: If a non-nil value type is provided, it will be used as the value before the transformation is applied.
Inside the body of the map function, you can use the value held by the result, which is named uValue
.