HH\ImmMap::isEmpty

Checks if the current ImmMap is empty

public function isEmpty(): bool;

Returns

  • bool - true if the current ImmMap is empty; false otherwise.

Examples

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