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