Search
The map.has() method can be used to check if a Map has a property with the given key.
map.has()
The map.has() method takes one argument - the key to be searched for. The map.has() method returns true if the key exists and false if it doesn't.
true
false