is_bool

PHP 4, PHP 5, PHP 7, PHP 8
is_bool - Finds out whether a variable is a boolean
Manual
Code Examples

Example #1 is_bool examples

PHP Version: