(a: any[], b: any[])
| 56 | } |
| 57 | |
| 58 | function 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 | |
| 70 | export function useDataApiDynamicQuery<T, Collection extends IDataCollection>( |
| 71 | dependency: any[], callback: () => Collection): Collection { |
no outgoing calls
no test coverage detected