mapHas

Tests whether key is an element of map.

Parameters

mapA map
keyThe key to query

Returns

true if key is found in map, false otherwise