* Trims content matching `charType` (defaults to `\s`, i.e. whitespace) from the start and end.
(charType?: string)
| 1023 | * Trims content matching `charType` (defaults to `\s`, i.e. whitespace) from the start and end. |
| 1024 | */ |
| 1025 | trim(charType?: string): this { |
| 1026 | return this.trimStart(charType).trimEnd(charType) |
| 1027 | } |
| 1028 | |
| 1029 | /** @internal */ |
| 1030 | trimEndAborted(charType?: string): boolean { |