(self: TxHashSet<V>)
| 496 | * @since 2.0.0 |
| 497 | */ |
| 498 | export const isEmpty = <V>(self: TxHashSet<V>): Effect.Effect<boolean> => |
| 499 | Effect.gen(function*() { |
| 500 | const set = yield* TxRef.get(self.ref) |
| 501 | return HashSet.isEmpty(set) |
| 502 | }) |
| 503 | |
| 504 | /** |
| 505 | * Removes all values from the TxHashSet. |