CoastalCommitsPastes/server/node_modules/validator/es/lib/trim.js
2022-03-06 16:46:59 -08:00

5 lines
No EOL
144 B
JavaScript

import rtrim from './rtrim';
import ltrim from './ltrim';
export default function trim(str, chars) {
return rtrim(ltrim(str, chars), chars);
}