Skip to content

Commit

Permalink
Remove private Helpers.getObjectLevel function
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewtelnov committed Jul 7, 2023
1 parent 9fd1a5c commit 707efea
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,12 +174,6 @@ export class Helpers {
}
return value;
}
private static getObjectLevel(objects: Array<any>, obj: any): number {
for(let i = 0; i < objects.length; i ++) {
if(objects[i].obj === obj) return objects[i].level;
}
return -1;
}
public static createCopy(obj: any): any {
var res: any = {};
if (!obj) return res;
Expand Down

0 comments on commit 707efea

Please sign in to comment.