Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 1.2 KB

File metadata and controls

13 lines (8 loc) · 1.2 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