export const check = (arr: any[], value: any) => { return arr.indexOf(value) > -1; };