ContainsKey Procedure
Checks whether a map contains a given key.
Declaration
function ContainsKey(
map as Map from T1 to T2, key as T1
) as Boolean
Parameters
Return value
Boolean — True if the map contains the key, false otherwise.
Example
Code
dim map myMap
yield "aaa" to "111"
yield "bbb" to "222"
end dim
print ContainsKey(myMap, "aaa")
print ContainsKey(myMap, "ccc")
Output