MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isEqual

Function isEqual

static/bootstrap-select-1.13.18/js/bootstrap-select.js:239–243  ·  view source on GitHub ↗
(array1, array2)

Source from the content-addressed store, hash-verified

237
238 // shallow array comparison
239 function isEqual (array1, array2) {
240 return array1.length === array2.length && array1.every(function (element, index) {
241 return element === array2[index];
242 });
243 };
244
245 // <editor-fold desc="Shims">
246 if (!String.prototype.startsWith) {

Callers 1

scrollFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected