4 lines
88 B
TypeScript
4 lines
88 B
TypeScript
export const check = (arr: any[], value: any) => {
|
|
return arr.indexOf(value) > -1;
|
|
};
|