is_scalar
reactphp/async
Supported Versions: PHP 4 >= 4.0.5, PHP 5, PHP 7, PHP 8
Finds whether a variable is a scalar
<?php is_scalar
(
mixed $value
):
bool