Conditionally run function if value is an ok result
The value type of the Ok result.
Ok
Value to check
Function to run if value is an ok result
Conditionally run function if value is an ok result