Skip to content

Commit

Permalink
Fix header size of fold
Browse files Browse the repository at this point in the history
  • Loading branch information
nickavv authored Oct 27, 2020
1 parent 2fa9f01 commit 2fef8f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion API.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ var result = stream_of(initialArray)
```
In this example, `result` will contain `"a"`. We used a `sort` operation which would put the strings in their natural ascending order, at which point `"a"` would be the first item found in the stream.

#### .fold(initialValue, foldFunction)
### .fold(initialValue, foldFunction)
Starting with the initial value, performs the provided fold function on each item in the stream to
combine them into some final result.

Expand Down

0 comments on commit 2fef8f9

Please sign in to comment.