We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Removes all elements from map.
BiMap.prototype.clear(); // --> undefined
const BiMap = require('extra-bimap'); var m = new BiMap(); // BiMap [Map] {} m.set(1, 'a'); // BiMap [Map] { 1 => 'a' } m.set(2, 'b'); // BiMap [Map] { 1 => 'a', 2 => 'b' } m.clear(); // BiMap [Map] {}