Takes an exact string type and returns a new string with the whitespace from both ends removed.
The exact string type.
A union of string chars to trim.
type trimmed = Trim<' Hello World '>// => type trimmed = 'Hello World' Copy
type trimmed = Trim<' Hello World '>// => type trimmed = 'Hello World'
Generated using TypeDoc
Takes an exact string type and returns a new string with the whitespace from both ends removed.