Skip to content

Latest commit

 

History

History
12 lines (7 loc) · 1.71 KB

File metadata and controls

12 lines (7 loc) · 1.71 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