Skip to content

Latest commit

 

History

History

00898-easy-includes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

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