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