Plato on Github
Report Home
src/string/trim.js
Maintainability
93.11
Lines of code
19
Difficulty
2.50
Estimated Errors
0.01
Function weight
By Complexity
By SLOC
/** * @file Helper to trim strings * @since 0.1.6 */ /*#ifndef(UMD)*/ "use strict"; /*exported _gpfStringTrim*/ // Trim the string /*#endif*/ /** * Trim the string * * @param {String} that String to trim * @return {String} Trimmed string * @since 0.1.6 */ function _gpfStringTrim (that) { return that.trim(); }