export const arrayEqual = (a:any[], b:any[]):boolean => {
    return Array.isArray(a) &&
      Array.isArray(b) &&
      a.length === b.length &&
      a.every((val, index) => val === b[index]);
  }
;
