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