site/node_modules/trim-lines/index.d.ts
2024-10-14 08:09:33 +02:00

11 lines
293 B
TypeScript

/**
* Remove initial and final spaces and tabs at the line breaks in `value`.
* Does not trim initial and final spaces and tabs of the value itself.
*
* @param {string} value
* Value to trim.
* @returns {string}
* Trimmed value.
*/
export function trimLines(value: string): string