ConstSetAccess::contains

Checks whether a value is in the current Set

Description

public function contains<Tu super Tm>(
  Tu $m,
): bool;

Parameters

  • Tu $m

Return Values

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