From c09dc262e6ce1e5a616be2f7157e58cc64d29cd3 Mon Sep 17 00:00:00 2001 From: Denis <13015392+longdog@users.noreply.github.com> Date: Tue, 30 Apr 2024 16:06:15 +0400 Subject: [PATCH] fix markdown (#76) --- docs/docs/option.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/docs/option.md b/docs/docs/option.md index 6741c19..d80cc12 100644 --- a/docs/docs/option.md +++ b/docs/docs/option.md @@ -85,7 +85,7 @@ option.flatMap((value) => value.optionalProperty); Option.filter(f: (value: A) => boolean): Option ``` -If the option is `Some(value)` and that `f(value)` is `true``, returns `Some(value)`, otherwise returns `None`. +If the option is `Some(value)` and that `f(value)` is `true`, returns `Some(value)`, otherwise returns `None`. ```ts title="Examples" Option.Some(3).filter((x) => x > 2);