* Removes empty lines from the start and end.
()
| 1058 | * Removes empty lines from the start and end. |
| 1059 | */ |
| 1060 | trimLines(): this { |
| 1061 | return this.trim('[\\r\\n]') |
| 1062 | } |
| 1063 | |
| 1064 | /** |
| 1065 | * Trims content matching `charType` (defaults to `\s`, i.e. whitespace) from the start and end. |