is_countable
symfony/var-dumper
Supported Versions: PHP 7 >= 7.3.0, PHP 8
Verify that the contents of a variable is a countable value
<?php is_countable
(
mixed $value
):
bool