function_exists

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



if (!\function_exists('React\Promise\resolve')) {

    require __DIR__.'/functions.php';

}