Skip to content

Commit

Permalink
Fix small typo
Browse files Browse the repository at this point in the history
  • Loading branch information
gvillalta99 authored and robotlolita committed Aug 8, 2017
1 parent 5817673 commit 908b13b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/_docs/v2.0.0/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ structures to help with error handling:
}

function divide(x, y) {
if (typeox x !== "number" || typeof y !== "number") {
if (typeof x !== "number" || typeof y !== "number") {
return Result.Error(new IllegalArgument(`arguments to divide must be numbers`));
} else if (y === 0) {
return Result.Error(new DivisionByZero(`${x} / ${y} is not computable.`));
Expand Down Expand Up @@ -231,4 +231,4 @@ resources it allocated will be properly disposed of. Even when combined with oth
or transformed by other functions.

The documentation for the [`concurrency/task`](/api/v2.0.0/en/folktale.concurrency.task.html)
module describes this in details.
module describes this in details.

0 comments on commit 908b13b

Please sign in to comment.