Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jarvisjiang committed Aug 11, 2024
1 parent 6efe209 commit 8b74bca
Show file tree
Hide file tree
Showing 22 changed files with 483 additions and 132 deletions.
2 changes: 1 addition & 1 deletion docs/functions/Err.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ if (badResult.isErr()) {

## Defined in

[prelude.ts:418](https://github.com/JiangJie/happy-rusty/blob/7d7f4ab2132e507f77594d030495f95b5688b84a/src/enum/prelude.ts#L418)
[prelude.ts:473](https://github.com/JiangJie/happy-rusty/blob/6efe20969984552f52d79aee092bb6925a077fe7/src/enum/prelude.ts#L473)
4 changes: 2 additions & 2 deletions docs/functions/Ok.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ if (goodResult.isOk()) {

### Defined in

[prelude.ts:286](https://github.com/JiangJie/happy-rusty/blob/7d7f4ab2132e507f77594d030495f95b5688b84a/src/enum/prelude.ts#L286)
[prelude.ts:326](https://github.com/JiangJie/happy-rusty/blob/6efe20969984552f52d79aee092bb6925a077fe7/src/enum/prelude.ts#L326)

## Ok()

Expand All @@ -67,4 +67,4 @@ Because javascript does not have a `()` type, use `void` instead.

### Defined in

[prelude.ts:290](https://github.com/JiangJie/happy-rusty/blob/7d7f4ab2132e507f77594d030495f95b5688b84a/src/enum/prelude.ts#L290)
[prelude.ts:330](https://github.com/JiangJie/happy-rusty/blob/6efe20969984552f52d79aee092bb6925a077fe7/src/enum/prelude.ts#L330)
2 changes: 1 addition & 1 deletion docs/functions/Some.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ if (maybeValue.isSome()) {

## Defined in

[prelude.ts:55](https://github.com/JiangJie/happy-rusty/blob/7d7f4ab2132e507f77594d030495f95b5688b84a/src/enum/prelude.ts#L55)
[prelude.ts:71](https://github.com/JiangJie/happy-rusty/blob/6efe20969984552f52d79aee092bb6925a077fe7/src/enum/prelude.ts#L71)
2 changes: 1 addition & 1 deletion docs/functions/isOption.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ Checks if a value is an `Option`.

## Defined in

[utils.ts:11](https://github.com/JiangJie/happy-rusty/blob/7d7f4ab2132e507f77594d030495f95b5688b84a/src/enum/utils.ts#L11)
[utils.ts:11](https://github.com/JiangJie/happy-rusty/blob/6efe20969984552f52d79aee092bb6925a077fe7/src/enum/utils.ts#L11)
2 changes: 1 addition & 1 deletion docs/functions/isResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ Checks if a value is a `Result`.

## Defined in

[utils.ts:24](https://github.com/JiangJie/happy-rusty/blob/7d7f4ab2132e507f77594d030495f95b5688b84a/src/enum/utils.ts#L24)
[utils.ts:24](https://github.com/JiangJie/happy-rusty/blob/6efe20969984552f52d79aee092bb6925a077fe7/src/enum/utils.ts#L24)
2 changes: 1 addition & 1 deletion docs/functions/promiseToAsyncResult.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ async function example() {

## Defined in

[extensions.ts:25](https://github.com/JiangJie/happy-rusty/blob/7d7f4ab2132e507f77594d030495f95b5688b84a/src/enum/extensions.ts#L25)
[extensions.ts:25](https://github.com/JiangJie/happy-rusty/blob/6efe20969984552f52d79aee092bb6925a077fe7/src/enum/extensions.ts#L25)
Loading

0 comments on commit 8b74bca

Please sign in to comment.