( array: Value[], cb: (previous: Result, current: Value) => Result, initial: Result, )
| 62 | export const arrayIsEmpty = (array: unknown[]): boolean => size(array) == 0; |
| 63 | |
| 64 | export const arrayReduce = <Value, Result>( |
| 65 | array: Value[], |
| 66 | cb: (previous: Result, current: Value) => Result, |
| 67 | initial: Result, |
| 68 | ): Result => array.reduce(cb, initial); |
| 69 | |
| 70 | export const arrayFilter: { |
| 71 | <Value, FilteredValue extends Value>( |
no outgoing calls
no test coverage detected
searching dependent graphs…