Creates a Set with all keys of a Map.
const map = new Map([ ["k1", "v1"], ["k2", "v2"]]);const keys = keySet(map);console.log(keys); // Set(["k1", "k2"])
the Set containing all Map keys
the Map key type
the Map value type
the Map to obtain the keys from
Generated using TypeDoc
Creates a Set with all keys of a Map.
Example
Returns
the Set containing all Map keys