UNPKG

js-wrench

Version:

JS函数库

10 lines (9 loc) 272 B
/** * @description 对字符串两边去空格 * * @param {string} str 需要去空格的字符串 * @return {*} {string} 返回没有空格的字符串 * @example trim(" bac ") => "bac" */ declare const trim: (str: string) => string; export default trim;