( bucket: NonEmptyArray<K>, key: K )
| 491 | * Use to transform an existing `MutableHashMap` value in place without |
| 492 | * inserting missing keys. |
| 493 | * |
| 494 | * **Example** (Modifying existing values) |
| 495 | * |
| 496 | * ```ts import.meta.vitest |
| 497 | * import { MutableHashMap, Option } from "effect" |
| 498 | * |
| 499 | * const map = MutableHashMap.make(["count", 5], ["total", 100]) |
| 500 | * |
| 501 | * // Increment existing value |
| 502 | * MutableHashMap.modify(map, "count", (n) => n + 1) |
| 503 | * MutableHashMap.get(map, "count") // => Option.some(6) |
| 504 | * |
| 505 | * // Double existing value |
| 506 | * MutableHashMap.modify(map, "total", (n) => n * 2) |
no test coverage detected
searching dependent graphs…