Learn JavaScript
Map
32.7
Lesson

map.has()

The map.has() method returns true if the key exists and false if it doesn’t.