Files

7 lines
153 B
JavaScript
Raw Permalink Normal View History

2026-11-17 16:15:01 -05:00
function trimNewLine(input) {
return typeof(input) === 'string' ? input.replace(/\n/g, '') : input;
}
module.exports = {
trimNewLine: trimNewLine
};