Skip to content

Latest commit

 

History

History

00399-hard-tuple-filter

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

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