mobily / ts-belt

🔧 Fast, modern, and practical utility library for FP in TypeScript.
https://mobily.github.io/ts-belt
MIT License
1.11k stars 31 forks source link

S.prepend function #37

Closed TClark1011 closed 2 years ago

TClark1011 commented 2 years ago

It would be nice if there was a function to prepend one string to another. There is already S.concat, so it seems like there may as well be S.prepend

mobily commented 2 years ago

added in v3.13.0 🚀

docs: https://mobily.github.io/ts-belt/api/string#prepend