Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.36 KB

File metadata and controls

13 lines (8 loc) · 1.36 KB

Reverse medium #tuple

by jiangshan @jiangshanmeta

Take the Challenge    简体中文

Implement the type version of Array.reverse

For example:

type a = Reverse<['a', 'b']> // ['b', 'a']
type b = Reverse<['a', 'b', 'c']> // ['c', 'b', 'a']

Back Share your Solutions Check out Solutions