trim
Stentor API Reference / stentor-utils/src / trim
Function: trim()
trim(
strings,filter?):string[]
Defined in: packages/stentor-utils/src/string/trim.ts:8
Trims all the strings in a string array.
Parameters​
strings​
string[]
The strings to trim.
filter?​
(trimmedString) => boolean
An optional filter to prevent strings strings from being added.
Returns​
string[]