diff --git a/docs/_docs/v2.0.0/overview.md b/docs/_docs/v2.0.0/overview.md index f7db3ef..93e6d03 100644 --- a/docs/_docs/v2.0.0/overview.md +++ b/docs/_docs/v2.0.0/overview.md @@ -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.`)); @@ -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. \ No newline at end of file +module describes this in details.