function_exists

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return true if the given function has been defined
function_exists(string $function): bool
        try {

            return 
$handler($batch$e);

        } catch (
Throwable $e) {

            if (
function_exists('report')) {

                
report($e);

            }

        }
    public function __construct()

    {

        
$this->apcu function_exists('apcu_fetch');

    }
use Illuminate\Support\Arr;

use 
Illuminate\Support\Collection;



if (! 
function_exists('collect')) {
    }

}



if (! 
function_exists('data_fill')) {
    }

}



if (! 
function_exists('data_get')) {
    }

}



if (! 
function_exists('data_set')) {
    }

}



if (! 
function_exists('head')) {
    }

}



if (! 
function_exists('last')) {
    }

}



if (! 
function_exists('value')) {
            return false;

        }



        if (
function_exists('enum_exists') && enum_exists($castType)) {

            return 
true;

        }

    }
                return $attribute->__toString();

            }



            if (
function_exists('enum_exists') &&

                
$attribute instanceof BackedEnum) {

                return 
$attribute->value;

            }
    public function castBinding($value)

    {

        if (
function_exists('enum_exists') && $value instanceof BackedEnum) {

            return 
$value->value;

        }
use Closure;



if (! 
function_exists('Illuminate\Events\queueable')) {
use Illuminate\Support\HtmlString;

use 
Symfony\Component\HttpFoundation\Response;



if (! 
function_exists('abort')) {
    }

}



if (! 
function_exists('abort_if')) {