(func: Function | string, items: any[])
| 268 | } |
| 269 | |
| 270 | static filterItemsInCache(func: Function | string, items: any[]): any[] { |
| 271 | const cachedItems = new Set(Cache.getItemsHashes(func)); |
| 272 | return items.filter(item => cachedItems.has(Cache.hash(item))); |
| 273 | } |
| 274 | |
| 275 | static filterItemsNotInCache(func: Function | string, items: any[]): any[] { |
| 276 | const cachedItems = new Set(Cache.getItemsHashes(func)); |
no test coverage detected