( map: IdMap2<MapValue> | undefined, valueMapper?: (mapValue: MapValue, id: Id) => ObjValue, excludeMapValue?: (mapValue: MapValue) => boolean, )
| 103 | }; |
| 104 | |
| 105 | export const mapToObj2 = <MapValue, ObjValue = MapValue>( |
| 106 | map: IdMap2<MapValue> | undefined, |
| 107 | valueMapper?: (mapValue: MapValue, id: Id) => ObjValue, |
| 108 | excludeMapValue?: (mapValue: MapValue) => boolean, |
| 109 | ) => |
| 110 | mapToObj( |
| 111 | map, |
| 112 | (childMap) => mapToObj(childMap, valueMapper, excludeMapValue), |
| 113 | collIsEmpty, |
| 114 | objIsEmpty, |
| 115 | ); |
| 116 | |
| 117 | export const mapToObj3 = <MapValue, ObjValue = MapValue>( |
| 118 | map: IdMap3<MapValue>, |
no test coverage detected
searching dependent graphs…