_.thru() example: _.chain() is redundant there?
verheyenkoen opened this issue · comments
Koen Verheyen commented
John-David Dalton commented
Hi @verheyenkoen!
Lodash has implicit chaining so it will terminate the chain for things like trim
which return a primitive string unless you call .chain()
which activates explicit chaining.
Koen Verheyen commented
I see, thanks for explaining.