HH\ImmMap::contains

Determines if the specified key is in the current ImmMap

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

This function is interchangeable with containsKey().

Parameters

  • Tu $key

Return Values

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