Returns a new Iterator object that yields the keys for each element in the MKSet object.
Removes all elements from the MKSet object.
Removes the element associated to the keys and returns the value that MKSet.has(keys) would have previously returned. MKSet.has(keys) will return false afterwards.
const mkSet = new MKSet([['foo']]);
mkSet.delete(['foo']); // => true
mkSet.delete(['foo']); // => false
Returns a boolean asserting whether an element is present with the given keys in the MKSet object or not.
const mkSet = new MKSet([['foo']]);
mkSet.has(['foo']); // => true
mkSet.has(['bar']); // => false
Returns a new Iterator object that yields the keys for each element in the MKSet object. (this is the same as the values() method.)
Returns a new Iterator object that yields the keys for each element in the MKSet object. (this is the same as the keys() method.)
Creates a new MKSet object.
Could be called with initial keys.