HH\Lib\C\contains

This API is part of the Hack Standard Library, not HHVM itself.

Returns true if the given Traversable contains the value

namespace HH\Lib\C;

function contains<T>(
  Traversable<T> $traversable,
  T $value,
): bool;

Strict equality is used.

Parameters