ts_temp/string/trim.js
/**
* Removes leading and trailing whitespace from `str`.
*
* @param {String} str The string to trim.
* @returns {String} Returns the trimmed string.
* @example
*
* trim(' abc '); // => 'abc'
*
*/
export default (str = '') => str.toString().trim() || '';