ConstSetAccess::contains

Checks whether a value is in the current Set

public function contains(
  arraykey $m,
): bool;

Parameters

  • arraykey $m

Returns

  • bool - true if the value is in the current Set; false otherwise.