HH\ImmMap::containsKey

Determines if the specified key is in the current ImmMap

Description

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

This function is interchangeable with contains().

Parameters

  • $k - The key to check.

Return Values

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

Examples

See Map::containsKey for usage examples.