Skip to content

Commit

Permalink
[doc] Update JSDoc comment
Browse files Browse the repository at this point in the history
  • Loading branch information
lpinca committed Feb 20, 2022
1 parent a7044e3 commit 0071490
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@ var required = require('requires-port')
, windowsDriveLetter = /^[a-zA-Z]:/;

/**
* Trim a given string.
* Remove control characters and whitespace from the beginning of a string.
*
* @param {String} str String to trim.
* @param {Object|String} str String to trim.
* @returns {String} A new string representing `str` stripped of control
* characters and whitespace from its beginning.
* @public
*/
function trimLeft(str) {
Expand Down

0 comments on commit 0071490

Please sign in to comment.