HH\ImmMap::containsKey
Determines if the specified key is in the current ImmMap
public function containsKey(
mixed $key,
): bool;
This function is interchangeable with contains().
Guide
Parameters
mixed $key
Returns
bool-trueif the specified key is present in the currentImmMap;falseotherwise.
Examples
See [Map::containsKey](</hack/reference/class/Map/containsKey/#examples>) for usage examples.