Skip to content

Commit

Permalink
tweak toResult docs
Browse files Browse the repository at this point in the history
  • Loading branch information
aleclarson committed Jul 22, 2024
1 parent 88e0bf5 commit 7099c3e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/function/toResult.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ tableOfContents:

### Usage

The `toResult` function is designed to handle both synchronous and asynchronous values, converting them into a standardized `Result` format. This function is particularly useful for ensuring consistency in handling both errors and successful outcomes, regardless of whether the underlying computation is synchronous or asynchronous.
The `toResult` function is designed to handle both synchronous and asynchronous values, converting them into a standardized `Result` format.

This function is particularly useful for ensuring consistency in handling both errors and successful outcomes, regardless of whether the underlying computation is synchronous or asynchronous.

## Call Signatures

Expand Down

0 comments on commit 7099c3e

Please sign in to comment.