boolval
laravel/octane
Supported Versions: PHP 5 >= 5.5.0, PHP 7, PHP 8
Get the boolean value of a variable
<?php boolval
(
mixed $value
):
bool