Package: effect
Module: HashSet
Checks whether the HashSet is empty.
Example (Checking whether a HashSet is empty)
import { HashSet } from "effect"
const empty = HashSet.empty<string>()
console.log(HashSet.isEmpty(empty)) // true
const nonEmpty = HashSet.make("a")
console.log(HashSet.isEmpty(nonEmpty)) // false
Signature
declare const isEmpty: <V>(self: HashSet<V>) => boolean
Since v4.0.0