MCPcopy Index your code
hub / github.com/buildbot/buildbot / arrayElementsEqual

Function arrayElementsEqual

www/data-module/src/data/ReactUtils.ts:58–68  ·  view source on GitHub ↗
(a: any[], b: any[])

Source from the content-addressed store, hash-verified

56}
57
58function arrayElementsEqual<T>(a: any[], b: any[]) {
59 if (a.length !== b.length) {
60 return false;
61 }
62 for (let i = 0; i < a.length; ++i) {
63 if (a[i] !== b[i]) {
64 return false;
65 }
66 }
67 return true;
68}
69
70export function useDataApiDynamicQuery<T, Collection extends IDataCollection>(
71 dependency: any[], callback: () => Collection): Collection {

Callers 3

useDataAccessorFunction · 0.85
useDataApiDynamicQueryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected