Search
Use the map.has() method to check whether the key fruitName is present in the fruits Map.
map.has()
fruitName
fruits
For example: