by Anthony Fu @antfu
Implement Trim<T>
which takes an exact string type and returns a new string with the whitespace from both ends removed.
For example
type trimed = Trim<' Hello World '> // expected to be 'Hello World'
by Anthony Fu @antfu
Implement Trim<T>
which takes an exact string type and returns a new string with the whitespace from both ends removed.
For example
type trimed = Trim<' Hello World '> // expected to be 'Hello World'