MCPcopy Create free account
hub / github.com/circircir-circle/human_exist_device / trim

Method trim

mini_program/common/Tools.js:261–263  ·  view source on GitHub ↗

* 删除字符串左右两端的空格 * @param {String} str * @return {String}

(str)

Source from the content-addressed store, hash-verified

259 * @return {String}
260 */
261 trim(str) {
262 return this.isString(str) ? str.trim() : str
263 }
264
265 /**
266 * 字符串转义

Callers 1

utFunction · 0.80

Calls 1

isStringMethod · 0.95

Tested by

no test coverage detected