HH\ImmSet::contains

Determines if the specified value is in the current ImmSet

Description

public function contains<Tu super Tv>(
  Tu $k,
): bool;

Parameters

  • Tu $k

Return Values

  • bool - true if the specified value is present in the current ImmSet; false otherwise.

Examples

See Set::contains for usage examples.