HH\ImmVector::containsKey

Determines if the specified key is in the current ImmVector

public function containsKey(
  mixed $key,
): bool;

Guide

Parameters

  • mixed $key

Returns

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

Examples

See [Vector::containsKey](</hack/reference/class/Vector/containsKey/#examples>) for usage examples.