Skip to content

Commit

Permalink
Rename compare content function #3900
Browse files Browse the repository at this point in the history
  • Loading branch information
BenediktMehl committed Jan 31, 2025
1 parent a18326c commit 6570002
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion visualization/app/codeCharta/util/arrayHelper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export function addItemsToArray<T>(array: T[], items: T[]): T[] {
return newArray
}

export function compareContent<T>(array1: T[], array2: T[]): boolean {
export function compareContentIgnoringOrder<T>(array1: T[], array2: T[]): boolean {
if (array1.length !== array2.length) {
return false
}
Expand Down

0 comments on commit 6570002

Please sign in to comment.