We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a7044e3 commit 0071490Copy full SHA for 0071490
index.js
@@ -9,9 +9,11 @@ var required = require('requires-port')
9
, windowsDriveLetter = /^[a-zA-Z]:/;
10
11
/**
12
- * Trim a given string.
+ * Remove control characters and whitespace from the beginning of a string.
13
*
14
- * @param {String} str String to trim.
+ * @param {Object|String} str String to trim.
15
+ * @returns {String} A new string representing `str` stripped of control
16
+ * characters and whitespace from its beginning.
17
* @public
18
*/
19
function trimLeft(str) {
0 commit comments