(
arr: IterableArray,
action: (item: any) => void,
getter: (arr: IterableArray, index: number) => any,
context: any = {},
)
| 3 | type IterableArray = NodeChildren | any[]; |
| 4 | |
| 5 | export function foreachReverse( |
| 6 | arr: IterableArray, |
| 7 | action: (item: any) => void, |
| 8 | getter: (arr: IterableArray, index: number) => any, |
| 9 | context: any = {}, |
| 10 | ) { |
| 11 | for (let i = arr.length - 1; i >= 0; i--) { |
| 12 | action.call(context, getter(arr, i)); |
| 13 | } |
| 14 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…