is_bool
brefphp/bref
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Finds out whether a variable is a boolean
<?php is_bool
(
mixed $value
):
bool