HH\Map::containsKey

Determines if the specified key is in the current Map

public function containsKey<Tu super Tk>(
  Tu $key,
): bool;

This function is interchangeable with contains().

Parameters

  • Tu $key

Return Values

  • bool - true if the specified key is present in the current Map; returns false otherwise.