Skip to main content

log-more > format

format variableโ€‹

A helper function that will handle converting the Result objects returned from a failed process into a Report

Signature:
format: <TFormatted extends FormattedData = FormattedData>(result: Result) => Result<Report<TFormatted>>