Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.41 KB

File metadata and controls

12 lines (7 loc) · 1.41 KB

Trim Left medium #template-literal

by Anthony Fu @antfu

Take the Challenge    日本語

Implement TrimLeft<T> which takes an exact string type and returns a new string with the whitespace beginning removed.

For example

type trimed = TrimLeft<'  Hello World  '> // expected to be 'Hello World  '

Back Share your Solutions Check out Solutions