marpple / FxTS

A functional programming library for TypeScript/JavaScript
https://fxts.dev
Apache License 2.0
862 stars 63 forks source link

docs: fix Method-Chaining example results #275

Closed kyechan99 closed 1 month ago

kyechan99 commented 1 month ago

Fix

Modified the example results from /docs/method-chaining.

Before

fx("abc")
  .map((a) => a.toUpperCase()) // ["a", "b"]
  .take(2)
  .toArray(); // ["a", "b"]

After

fx("abc")
  .map((a) => a.toUpperCase()) // ["A", "B"]
  .take(2)
  .toArray(); // ["A", "B"]
ppeeou commented 1 month ago

@kyechan99

I think your PR was correct! What was the reason for your cancellation? Please upload your PR and we will approve it