Skip to content

Latest commit

 

History

History
11 lines (7 loc) · 1.41 KB

File metadata and controls

11 lines (7 loc) · 1.41 KB

Tuple Filter hard #tuple #infer

by Ryo Hanafusa @softoika

Take the Challenge    日本語

Implement a type FilterOut<T, F> that filters out items of the given type F from the tuple T.

For example,

type Filtered = FilterOut<[1, 2, null, 3], null> // [1, 2, 3]

Back Share your Solutions Check out Solutions