enum_exists
reactphp/event-loop
Supported Versions: PHP 8 >= 8.1.0
Checks if the enum has been defined
<?php enum_exists
(
string $enum
,
bool $autoload
=
true
):
bool