Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.28 KB

File metadata and controls

12 lines (7 loc) · 1.28 KB

Includes easy #array

by null @kynefuk

Take the Challenge

Implement the JavaScript Array.includes function in the type system. A type takes the two arguments. The output should be a boolean true or false.

For example

type isPillarMen = Includes<['Kars', 'Esidisi', 'Wamuu', 'Santana'], 'Dio'> // expected to be `false`

Back Share your Solutions Check out Solutions