( array: Value[], cb: (value: Value, index: number) => boolean, )
| 82 | ): Value[] => array.filter(cb); |
| 83 | |
| 84 | export const arrayFind = <Value>( |
| 85 | array: Value[], |
| 86 | cb: (value: Value, index: number) => boolean, |
| 87 | ): Value | undefined => array.find(cb); |
| 88 | |
| 89 | export const arrayClear = <Value>(array: Value[], to?: number): Value[] => |
| 90 | array.splice(0, to); |
no outgoing calls
no test coverage detected
searching dependent graphs…