Skip to content

Commit 8955279

Browse files
committed
Explain pipefirst with multiple args
1 parent ae35d7b commit 8955279

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/pipe-first.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ person
2525

2626
Basically, `parseData(person)` is transformed into `person->parseData`, and `getAge(person->parseData)` is transformed into `person->parseData->getAge`, etc.
2727

28-
**This works when the function takes more than one argument too**.
28+
**Pipe first operator always applies the value to the _first_ argument of the function, even if that function takes more than one argument**.
2929

3030
```reason
3131
a(one, two, three)

0 commit comments

Comments
 (0)