Merge develop

This commit is contained in:
Pieter Vander Vennet 2021-07-27 22:23:42 +02:00
commit c8bd412476
49 changed files with 1342 additions and 977 deletions

View file

@ -135,7 +135,20 @@ export class Utils {
}
return newArr;
}
public static Identical<T>(t1: T[], t2: T[], eq?: (t: T, t0: T) => boolean): boolean{
if(t1.length !== t2.length){
return false
}
eq = (a, b) => a === b
for (let i = 0; i < t1.length ; i++) {
if(!eq(t1[i] ,t2[i])){
return false
}
}
return true;
}
public static MergeTags(a: any, b: any) {
const t = {};
for (const k in a) {