FsFlow.ValidationModule.map

Maps the successful value of a validation.

Parameters

  • mapper: A function of type 'value -> 'next.
  • validation: The source Validation.

Returns

A validation with the transformed success value.