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