is_resource
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Finds whether a variable is a resource
<?php is_resource
(
mixed $value
):
bool