We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baaccb3 commit f9ccdb3Copy full SHA for f9ccdb3
src/main/ts/Part2Ex3Optional.ts
@@ -137,7 +137,7 @@ Let's explore this by converting Optionals to and from Arrays.
137
One of the most useful functions on Optional is "map". We say this function "maps a function over the Optional".
138
139
If the Optional is some, it runs the function over the some and returns the result as a "some".
140
-If the Optional. is none, it returns none.
+If the Optional is none, it returns none.
141
142
Above, we talked about how an Optional is like an array restricted to 0 or 1 elements, so mapping over an Optional
143
is very similar to mapping over an array (which we did in Exercise 2).
0 commit comments