( callbacks: ((...args: any[]) => any)[], thing: any, ...ids: Id[] )
| 37 | import {ProtectedStore} from '../store/index.ts'; |
| 38 | |
| 39 | const reduceCallbacks = ( |
| 40 | callbacks: ((...args: any[]) => any)[], |
| 41 | thing: any, |
| 42 | ...ids: Id[] |
| 43 | ): any => |
| 44 | arrayReduce( |
| 45 | callbacks, |
| 46 | (current, callback) => |
| 47 | isUndefined(current) ? current : callback(...ids, current), |
| 48 | thing, |
| 49 | ); |
| 50 | |
| 51 | const everyCallback = ( |
| 52 | callbacks: ((...args: any[]) => boolean)[], |
no test coverage detected
searching dependent graphs…