deploy: current vibn theia state
Made-with: Cursor
This commit is contained in:
14
packages/task/test-resources/compare.js
Normal file
14
packages/task/test-resources/compare.js
Normal file
@@ -0,0 +1,14 @@
|
||||
/**
|
||||
* Compares if two arrays contain the same primitive values.
|
||||
*/
|
||||
exports.compareArrayValues = function (a, b) {
|
||||
if (a.length !== b.length) {
|
||||
return false
|
||||
}
|
||||
for (let i = 0; i < a.length; i++) {
|
||||
if (a[i] !== b[i]) {
|
||||
return false
|
||||
}
|
||||
}
|
||||
return true
|
||||
}
|
||||
Reference in New Issue
Block a user