(self: TxHashMap<K, V>)
| 630 | * @since 2.0.0 |
| 631 | */ |
| 632 | export const isEmpty = <K, V>(self: TxHashMap<K, V>): Effect.Effect<boolean> => |
| 633 | Effect.gen(function*() { |
| 634 | const map = yield* TxRef.get(self.ref) |
| 635 | return HashMap.isEmpty(map) |
| 636 | }) |
| 637 | |
| 638 | /** |
| 639 | * Checks whether the TxHashMap is non-empty. |
no test coverage detected