From 908b13b725139f46d44726e327e885e47f0fc4ec Mon Sep 17 00:00:00 2001 From: gvillalta99 Date: Tue, 8 Aug 2017 13:01:35 -0300 Subject: [PATCH] Fix small typo --- docs/_docs/v2.0.0/overview.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.