Removes leading and trailing whitespace from a string. Curried wrapper around String.prototype.trim for composition.
trim(' hello world ');// => 'hello world' Copy
trim(' hello world ');// => 'hello world'
String to trim
Trimmed string
Removes leading and trailing whitespace from a string. Curried wrapper around String.prototype.trim for composition.
Example