Checks if the current Vector
is empty
public function isEmpty(): bool;
Returns
bool
- true
if the current Vector
is empty; false
otherwise.
Examples
$v = Vector {};
\var_dump($v->isEmpty());
$v = Vector {'red', 'green', 'blue', 'yellow'};
\var_dump($v->isEmpty());