ConstIndexAccess::containsKey

Description

public function containsKey(
  Tu $k,
): bool

Determines if the specified key is in the current collection.

Parameters

  • Tu $k

Return Values

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