ConstIndexAccess::containsKey

Determines if the specified key is in the current collection

Description

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

Parameters

  • Tu $k

Return Values

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