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