Package: effect
Module: HashMap
Returns an IterableIterator of the keys within the HashMap.
Example (Iterating keys)
import { HashMap } from "effect"
const map = HashMap.make(["a", 1], ["b", 2], ["c", 3])
const keys = Array.from(HashMap.keys(map))
console.log(keys.sort()) // ["a", "b", "c"]
Signature
declare const keys: <K, V>(self: HashMap<K, V>) => IterableIterator<K>
Since v2.0.0