Skip to content

Commit 568ad0c

Browse files
glennslaspeddro
andcommitted
docs(nullable): fix typo x -> value
Co-authored-by: Pedro Castro <aspeddro@gmail.com>
1 parent d94cc44 commit 568ad0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Core__Nullable.resi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ noneValue->Nullable.mapWithDefault(0, x => x + 5) // 0
159159
let mapWithDefault: (t<'a>, 'b, 'a => 'b) => 'b
160160

161161
/**
162-
`flatMap(value, f)` returns `f(x)` if `value` is not `null` or `undefined`, otherwise `undefined`.
162+
`flatMap(value, f)` returns `f(value)` if `value` is not `null` or `undefined`, otherwise `undefined`.
163163
164164
## Examples
165165

0 commit comments

Comments
 (0)