HH\ImmSet::isEmpty

Checks if the current ImmSet is empty

public function isEmpty(): bool;

Returns

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

Examples

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